Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
    
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

1 Answer 1

up vote 12 down vote accepted

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

share|improve this answer
    
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. –  RyanDalton 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? –  RyanDalton 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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