Conditional field calculator

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
# Click {{button|text=Add vector layer}} [[Image:QGIS_2.0_addvect.png|20px]] and select file ''geodata/vector/Subset-Goe_DE021L1_GOTTINGEN_UA2012_UTM32N.shp''.
 
# Click {{button|text=Add vector layer}} [[Image:QGIS_2.0_addvect.png|20px]] and select file ''geodata/vector/Subset-Goe_DE021L1_GOTTINGEN_UA2012_UTM32N.shp''.
 
# In the processing toolbar, type {{typed|text=Field calculator}} to browse for the {{mitem|text=QGIS --> Vector Table Tools --> Field calculator)}} and open it.
 
# In the processing toolbar, type {{typed|text=Field calculator}} to browse for the {{mitem|text=QGIS --> Vector Table Tools --> Field calculator)}} and open it.
 +
# Formulate 5 conditional operations to reclassify the column '''CODE2012''' creating a new column named '''C_ID''.
 +
 +
  
 
[[category:Working with Vector Data]]
 
[[category:Working with Vector Data]]

Revision as of 12:38, 26 November 2017

We would like to use the European Urban Atlas as an information vector layer to extract reference data for an automated actual land cover classification. The original Urban Atlas classifcation scheme has 37 classes. We need to select and merge some classes and simplifying the scheme to be usable as training data input for land cover classification.

  1. Click Add vector layer QGIS 2.0 addvect.png and select file geodata/vector/Subset-Goe_DE021L1_GOTTINGEN_UA2012_UTM32N.shp.
  2. In the processing toolbar, type Field calculator to browse for the QGIS --> Vector Table Tools --> Field calculator) and open it.
  3. Formulate 5 conditional operations to reclassify the column CODE2012' creating a new column named C_ID.
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export