Creating new vector layers

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TutorialNavigator}}{{Content Tree|HEADER=QGIS Tutorial|NAME=QGIS tutorial}}
+
# Click the [[Image:QGIS_2.0_addrast.png|20px]] {{button|text=Add raster layer}} in the toolbar or choose {{mitem|text=Layer --> Add Layer --> Add raster Layer}}
 +
# Navigate to the georeferenced DOP ''/geodata_w02/mavic_rgba_modified.tif''.  {{button|text=OK}}
 +
# Create a new vector layer:
 +
# Select {{mitem|text=Layer --> Create Layer --> New Geopackage Layer}}.
 +
# Define path and file name.
 +
#* As Geometry type, select {{button|text=Polygon}}.
 +
#* Open the CRS dropdownlist… and select the Project CRS: WGS84/UTM32N (EPSG:32632).
 +
#* Adding an additional New Fieled in the attibute table:
 +
#** For the the new field name name type {{typed|text=species_code}}.
 +
#** Select {{button|text=Whole number (integer)}} as data type.
 +
#** Confirm with {{button|text=Add to Fields List}}.
 +
#** For the scientific species name add a  new field name: {{typed|text=species_code}}.
 +
#** Select {{button|text=Texrt Data)}} as data type.
 +
#** Confirm with {{button|text=Add to Fields List}}.
 +
#** OK
 +
[[File:qgis_add_new_vector_layer.png|400px]]
  
# Under {{mitem|text=Settings Project → Properties}} set the SRS to the coordinate system GaussKruger Zone 3 (EPSG: 31467).
 
# Click the {{button|text=Add raster layer}} in the toolbar or choose {{mitem|text=Layer → Add raster Layer}}
 
# Navigate to ''../geodata/multi_etm.tif''
 
# Make sure the “Files of type” drop-down box has the “GeoTiff” filter selected.
 
# Double-click the ''multi_etm'' layer in the legend to oprn the {{button|text=Raster layer properties}} dialog.
 
# Create a [[Color composites | false color composite]].
 
#* In the {{button|text=Symbology}} tab change the assignment of RGB to the band numbers to  5-4-2. Change the standard deviation from 0.00 to 2.0 and press {{button|text=apply}}
 
# Create a new vector layer. Click {{mitem|text=Layer → New vector layer}}.
 
# Prepare the following window as shown below. <br> Type: Polygon <br> Type: text data <br> Name: cname <br> Widht: 80                                                         
 
You can add additional attributes as columns with the button [[File:Addvaluesmanually.png|25px]]. The values of the attributes can be defined during the digitizing process.
 
[[File:Newvectorlayerad.png|400px|center]]
 
<br>
 
<br>
 
Save the Layer in your ''geodata'' folder, name it {{typed|text=train}}.
 
 
==Related articles==
 
* [[CORINE LUCCS (Land use / cover classification system)]]
 
  
 
[[category:Working with Vector Data]]
 
[[category:Working with Vector Data]]

Latest revision as of 11:06, 7 June 2021

  1. Click the QGIS 2.0 addrast.png Add raster layer in the toolbar or choose Layer --> Add Layer --> Add raster Layer
  2. Navigate to the georeferenced DOP /geodata_w02/mavic_rgba_modified.tif. OK
  3. Create a new vector layer:
  4. Select Layer --> Create Layer --> New Geopackage Layer.
  5. Define path and file name.
    • As Geometry type, select Polygon.
    • Open the CRS dropdownlist… and select the Project CRS: WGS84/UTM32N (EPSG:32632).
    • Adding an additional New Fieled in the attibute table:
      • For the the new field name name type species_code.
      • Select Whole number (integer) as data type.
      • Confirm with Add to Fields List.
      • For the scientific species name add a new field name: species_code.
      • Select Texrt Data) as data type.
      • Confirm with Add to Fields List.
      • OK

400px

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export