Proximity analysis with rasters

The easiest way to carry out a proximity analysis using rasters is GDAL's Proximity tool in QGIS. The tool requires a raster layer where features are described by cell values greater than zero. It takes the input raster, and creates the proximity grid--a raster with the same extent and resolution filled with distances from cells with values greater than zero. The behavior of the Proximity tool implies the following two things:

  • We need to rasterize our input features
  • We need to supply our rasterized features in a raster map covering our study area

As we've already found out, we can supply an existing raster layer to the Rasterize tool:

  1. Select one of the factor inputs (like waterways, mean_coordinates, and ...

Get Practical GIS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.