Digitizing training and test areas
From AWF-Wiki
(Difference between revisions)
Line 20: | Line 20: | ||
# Create a new shapefile layer | # Create a new shapefile layer | ||
## Select {{mitem|text=Layer --> New --> New Shapefile Layer}}. | ## Select {{mitem|text=Layer --> New --> New Shapefile Layer}}. | ||
− | ##* As layer type, select {{button|text=Polygon}}. Click the {{button|text=Specify SRS}} button and select WGS 84 (EPSG:3857). | + | ##* As layer type, select {{button|text=Polygon}}. Click the {{button|text=Specify SRS}} button and select WGS 84/Pseudo Mercator (EPSG:3857). |
##* To add an attibute: | ##* To add an attibute: | ||
##** For the attribute's name type ({{typed|text=Class}} into the {{button|text=Name}} field of the {{button|text=New attribute}} section. | ##** For the attribute's name type ({{typed|text=Class}} into the {{button|text=Name}} field of the {{button|text=New attribute}} section. |
Revision as of 15:54, 24 January 2014
sorry: |
This section is still under construction! This article was last modified on 01/24/2014. If you have comments please use the Discussion page or contribute to the article! |
- This article is part of the QGIS tutorial 2013/14.
In this article you will learn how to create test areas for landscape classification.
- Generating sample points
- Load the raster map 188_pca_indices, which should be available in the course data.
- Open Vector --> Research tools --> regular points. If not selected by default, set the Input Boundary Layer to 188_pca_indices.
- Select the radio button Use this number of points and set the number to 50.
- Set Initial set from corner (LH side)
- Enter the file name and path by clicking Browse. You may use 188_pca_indices_points as a file name.
- Confirm with OK. Let the new layer be added to the TOC.
- Buffering sample points
- Open Vector --> Geoprocessing tools --> Buffer. Select the generated points shapefile as input layer.
- Enter 2000 (meter) as Buffer distance.
- Enter a file path and name, e.g. 188_pca_indices_buffer, confirm with OK and confirm the following dialogue to let the result be added to the project.
- To get an overview of the terrain, you may add a google sattelite layer
- Create a new shapefile layer
- Select Layer --> New --> New Shapefile Layer.
- As layer type, select Polygon. Click the Specify SRS button and select WGS 84/Pseudo Mercator (EPSG:3857).
- To add an attibute:
- For the attribute's name type (Class into the Name field of the New attribute section.
- Select Whole number as data type.
- Confirm with Add to attributes list.
- Confirm with OK.
- Select Layer --> New --> New Shapefile Layer.