Bug report #20793
Field format corrupted when performing save features as...
Status: | Open | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Attribute table | ||
Affected QGIS version: | 3.4.2 | Regression?: | Yes |
Operating System: | Windows 10 64bit | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28613 |
Description
I have recently switched from QGIS 3.0.1 to QGIS 3.4.2. I have found that field format is lost when doing export... save features as.. and letting the geometry type as automatic. However, if I specifically select the geometry type (e.g. polygon), the field formatting is conserved. For example, a field with length of 12 and precision of 2 in the original file gets attributed a value of 23 length and precision 15 in the new file. For another field, length of a string field is increased from 5 to 80.