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

  • I would like to classify features in an existing shapefile. Is there a way to make a menu pop up when I select an existing feature and allow selection/typing of a classification value. The above description seems to only work for new features? Thanks Axel – user18293 May 18 '13 at 22:48

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

  • Is it possible to pull the pre-defined classification values from 1) a separate table of values or 2) values that currently exist within the table/field being edited? Option #1 would be similar to coded-value domains in ArcGIS. – RyanKDalton Jul 18 '11 at 22:24
  • Yes, using the Value map, you can either: 1) Load data from an existing attribute table or; 2? Load data from a CSV file. – maning Jul 19 '11 at 1:35
  • Fantastic! Do you know of any plans to allow a "live-linked" table, as opposed to a simple one-time load from table? – RyanKDalton Jul 19 '11 at 5:24
  • I'm not aware of any plans. You can try talking to the qgis-developers via the qgis-dev list: lists.osgeo.org/mailman/listinfo/qgis-developer – maning Jul 19 '11 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.