Friday 8 February 2019

field calculator - Decimal Degree data erases itself between edit sessions in QGIS


I have a shapefile with point data. I calculate the $x and $y of the points successfully After lat/lon calculation in decimal degrees



I save the changes and close the edit session. Once I reopen the attribute table, the data after the decimal point is gone. Decimal data is gone


The field type is Decimal.


Why does this happen?



Answer



The precision of the decimal field is 0. Due to limitations in the dbf format and shapefiles, you will have to create a new column. Make the decimal precision in that 5 or more.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...