Saturday, 9 July 2016

qgis - How to change all values in a field in one operation?


I am setting up a couple of shapefiles with text x, text y, text rotation and text size fields in order to utilize the labeling toolbar where I can move and rotate labels. I would like the values for all the records in the text size field to be 8. Is there a way to change them all at once, so they don't have to be done individually?



Answer



You can use the field calculator to create a new integer field (or update an existing one). Just set your expression to be:


8

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...