QGIS Lab09 Fall14: QGIS Spatial Statistics


This is ninth video tutorial of QGIS. It is about spatial statistics. The objective is to learn and use statistics tools in qgis and from SAGA modules from processing toolbox.


  1. Required Data layer: srtm_41_19.tif and road_34S.shp
  2. Convert Layers to 33S
  3. Vector > Geoprocessing Tools > Convex Hull
  4. Vector > Research Tools > Random points
  5. Save our output in exercise_data/spatial_statistics/ as random_points.shp
  6. Plugins > Analyses > Point sampling tool
  7. Save the output under exercise_data/spatial_statistics/ as random_samples.shp
  8. Vector > Analysis Tools > Basic statistics and use random_samples
  9. Create 03 points random data in distance_points layer and use Vector > Analysis Tools > Distance matrix.
  10. Vector > Analysis Tools > Nearest neighbor analysis and use random_samples.shp
  11. Vector > Analysis Tools > Mean coordinate(s) and use random_samples.shp and save resulting layer as mean_coords.shp
  12. Vector > Geometry Tools > Polygon centroids and save resulting layer as center_point.shp
  13. Using image histogram.
  14. Raster > Analysis > Grid (Interpolation) and saving output to exercise_data/spatial_statistics/interpolation.tif. Power to 5.0 and the Smoothing to 2.0
  15. Processing > Toolbox and use Spatial Point Pattern Analysis (use random_sample layer) and Minimum Distance Analysis (use random points layer)

Below is the full video lecture. Use full screen for clear content of video. The download link of below video is ogg video or mp4 video. You can play it in vlc player or open it in web browser.

The example files that are used in video can be downloaded from here .


  1. Chapter 07 of QGIS 2.6 Training Manual

Leave a Reply