Point sampling on raster

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
= First phase systematic sampling =
 
# Click {{mitem|text=Plugins --> Manage and Install Plugins}}.
 
# Click {{mitem|text=Plugins --> Manage and Install Plugins}}.
 
# Type in the search bar {{typed|text=Point sampling tool}}, click on the plugin name and then on {{button|text=Install plugin}}.
 
# Type in the search bar {{typed|text=Point sampling tool}}, click on the plugin name and then on {{button|text=Install plugin}}.
# Load the single band raster file ''C_ID.tif'' created by [[Convert vector to Raster]].
+
# Load the single band raster file ''C_ID.tif'' created by [Convert vector to Raster].
# Load the regular grid as vector point file ''systeamtic_grid100.shp''' created by [[Create regular point grid]].
+
# Load the regular grid as vector point file ''systematic_grid100.shp''' created by [Create regular point grid].
 +
# Make sure that both layers are ticked in the [TOC].
 
# Open the '''Point Sampling Tool''' clicking [[File:Qgis_psample_button.png]].
 
# Open the '''Point Sampling Tool''' clicking [[File:Qgis_psample_button.png]].
 +
# Select the layer containing sampling points.
 +
# Specify the output of the resulting vector file marking column with '''CTR + left click'''.
 +
# Enter an output shapefile name ''systematic_grid100_cid.shp'' and path by clicking {{button|text=Browse}}.
 +
# Confirm with {{button|text=OK}}. The new layer is added to the Layer Panel .
 +
= Second phase: stratified sampling with equal allocation =
  
## Open {{mitem|text=Vector --> Research tools --> regular points}}. Set the {{button|text=Input extent Layer}} to ''Use layer/canvas extent''.
+
## Confirm with {{button|text=OK}}. The new layer is added to the Layer Panel .
## Enter the number 600 (meters) to {{button|text=Point spacing}}.
+
## Click {{button|text=Use point spacing}} on.
+
## Enter an output shapefile name ''systematic_grid.shp'' and path by clicking {{button|text=Browse}}.
+
## Confirm with {{button|text=Run}}. The new layer is added to the Layer Panel .
+
  
 
[[category:Working with Vector Data]]
 
[[category:Working with Vector Data]]

Revision as of 14:53, 26 November 2017

First phase systematic sampling

  1. Click Plugins --> Manage and Install Plugins.
  2. Type in the search bar Point sampling tool, click on the plugin name and then on Install plugin.
  3. Load the single band raster file C_ID.tif created by [Convert vector to Raster].
  4. Load the regular grid as vector point file systematic_grid100.shp' created by [Create regular point grid].
  5. Make sure that both layers are ticked in the [TOC].
  6. Open the Point Sampling Tool clicking Qgis psample button.png.
  7. Select the layer containing sampling points.
  8. Specify the output of the resulting vector file marking column with CTR + left click.
  9. Enter an output shapefile name systematic_grid100_cid.shp and path by clicking Browse.
  10. Confirm with OK. The new layer is added to the Layer Panel .

Second phase: stratified sampling with equal allocation

    1. Confirm with OK. The new layer is added to the Layer Panel .
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export