Sunday, 18 December 2016

qgis - How to have a drop down list for feature editing (attributes) in Quantum GIS?


I'm editing a lot of polygons of a shapefile in QGIS and i need to classify them, so i have to write the classes a repetedly a lot of times. In ArcMap there is an option to have domains set for the fields. How do i do this in QGIS? Thanks



Answer



You can customize the attribute editing to various data types (predefined lists, a range of values or a date).




  1. Select a layer. Right-click > Properties.

  2. In the Properties window, click the Field tab.

  3. Select any field you want your pre-defined classes. The Value Map option will ask for your pre-defined classification values.


When you start adding new polygons a drop down list should appear showing your list of classes. The below screenshot is from QGIS 1.7. qgis_fieldTab


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