Creating new vector layers
From AWF-Wiki
(Difference between revisions)
Line 2: | Line 2: | ||
# Navigate to the georeferenced DOP ''../geodata_w02/mavic_rgba_modified.tif'' | # Navigate to the georeferenced DOP ''../geodata_w02/mavic_rgba_modified.tif'' | ||
# Make sure the “Files of type” drop-down box has the “GeoTiff” filter selected. | # Make sure the “Files of type” drop-down box has the “GeoTiff” filter selected. | ||
− | # Create a new vector layer. | + | # Create a new vector layer. |
− | # | + | # Select {{mitem|text=Layer --> Create Layer --> New Geopackage Layer}}. |
− | + | # Define path and name of a file. | |
− | + | #* As Geometry type, select {{button|text=Polygon}}. | |
− | + | #* Click the {{button|text=Specify CRS}} button and select the Project CRS, e.g.: WGS84/UTM32N (EPSG:32632). | |
− | + | #* Adding an additional column in the attibute table: | |
− | + | #** For the attribute's name type {{typed|text=Class}} into the {{button|text=Name}} field of the {{button|text=New attribute}} section. | |
+ | #** Select {{button|text=Whole number (integer)}} as data type. | ||
+ | #** Confirm with {{button|text=Add to Fields List}}. | ||
+ | [[File:qgis_add_new_vector_layer.png|400px]] | ||
[[category:Working with Vector Data]] | [[category:Working with Vector Data]] |
Revision as of 13:34, 25 May 2020
- Click the Add raster layer in the toolbar or choose Layer → Add raster Layer
- Navigate to the georeferenced DOP ../geodata_w02/mavic_rgba_modified.tif
- Make sure the “Files of type” drop-down box has the “GeoTiff” filter selected.
- Create a new vector layer.
- Select Layer --> Create Layer --> New Geopackage Layer.
- Define path and name of a file.
- As Geometry type, select Polygon.
- Click the Specify CRS button and select the Project CRS, e.g.: WGS84/UTM32N (EPSG:32632).
- Adding an additional column in the attibute table:
- For the attribute's name type Class into the Name field of the New attribute section.
- Select Whole number (integer) as data type.
- Confirm with Add to Fields List.