Raster analysis is the process of analyzing spatial information contained in grid datasets. Each cell in a grid contains a value or class, which could be related to soils, land cover, elevation, or another type of data.
GeoHub is powered by titiler a custom Cloud Optimized Geotiff(COG) server that converts on the fly COGs to map tiles in graphic formats. Titiler features sophisticated mechanisms that can be employed to transform the input COG files on the server side. This forms the backbone of raster based analytics.
In practice, all these details are hidden under the concepts of algorithms and
expressions through the UI/UX components.
Much like dynamic vector layers, specific algorithms can be applied transparently to raster layers represented by individual COGs, MosaicJSON documents or Spatio Temporal Assets Catalogs(STAC) assets.
We shall illustrate in the lines below how can one apply simple analytics to specific raster layers. We are going to create a hillshade layer
from elevation data. Hillshade or shaded relief shows the shape of the terrain in a realistic fashion by showing how the three-dimensional surface would be illuminated from a point light source.