Raster data, by organizing the data in uniform grids, is useful to analyze continuous phenomena or find some information at the subobject level. We will use continuous elevation and proximity data in this case, and we will look at the subapplicant object level —at the 30 meter-square cell level. You would choose a cell size depending on the resolution of the data source (for example, from sensors roughly 30 meters apart), the roughness of the analysis (regional versus local), and any hardware limitations.
First, let's make a few notes about raster data:
Now that all our data is in the raster format, we can work through how to derive information from these layers and combine this information in order to select the best sites.
Map algebra is a useful concept to work with multiple raster layers and analysis steps, providing arithmetic operations between cells in aligned grids. These produce an output grid with the respective value of the arithmetic solution for each set of cells. We will be using map algebra in this example for additive modeling.
Now that all our data is in the raster format, we can begin to model for the purpose of site selection. We want to discover which cells are best according to a set of criteria which has either been established for the domain area (for example, the agricultural conservation site selection) by convention or selected at the time of modeling. Additive modeling refers to this process of adding up all the criteria and associated weights to find the best areas, which will have the greatest value.
In this case, we have selected some criteria that are loosely known to affect the agricultural conservation site selection, as shown in the following table:
|
Layer |
Criteria |
Rule |
|---|---|---|
|
|
Is applicant | |
|
|
Proximity |
< 2000 m |
|
|
Land use, proximity |
< 100 m |
|
|
Slope |
=> 2 and <= 5, average |
|
|
Land use, proximity |
> 500 m |
|
|
Proximity |
> 100m |
The Proximity grid tool will generate a layer of cells with each cell having a value equal to its distance from the nearest non-nodata cell in another grid. The distance value is given in the CRS units of the other grid. It also generates direction and allocation grids with the direction and ID of the nearest nodata cell.
proximity in this toolbox. Ensure that you have the Advanced Interface selected.c2/data/output/easements_prox.tif.
The resulting grid is of the distance to the closest easement cell.
agriculture, developed, and roads. Finally, you will see the following output:
The Slope command creates a grid where the value of each cell is equal to the upgradient slope in percent terms. In other words, it is equal to how steep the terrain is at the current cell in the percentage of rise in elevation unit per horizontal distance unit. Perform the following steps:
c2/data/output. You can keep the other inputs as default.

proximity, agriculture, developed, road, and slope) appear in the Layers panel. If they don't, add them.("slope@1" < 8) + ("applicants@1" = 1) + ("easement_prox@1"<2000) + ("roads_prox@1">100) + ("developed_prox@1" > 500) + ("agriculture@1" < 100)

Here's a close up of the preceding map image so that you can see the variability in suitability:

In the preceding screenshot, cells are scored as follows:
Zonal statistics are calculated from the cells that fall within polygons. Using zonal statistics, we can get a better idea of what the raster data tells us about a particular cell group, geographic object, or polygon. In this case, zonal statistics will give us an average score for a particular applicant. Perform the following steps:


rank field, editing each value manually according to the _mean field created by the zonal statistics step. This is a measure of the mean suitability per cell. We will use this field for a label to communicate the relative suitability to a general audience; so, we want a rank instead of the rough mean value.

After you've completed these steps, your map will look something similar to this:
