Using arcgis.raster
ArcGIS API for Python (the arcgis
module) also contains useful tools for raster layers and imagery layers. Used in combination with arcpy
, it can allow you to store rasters or imagery in the cloud, pull down the rasters, perform analysis or a process on the rasters, and then put the rasters back into ArcGIS Online.
Much like arcpy
, there are a ton of built-in functions for arcgis
that enable you to interact with raster data. These functions allow you, for example, to get statistical properties of the raster such as mean or maximum or minimum cell value, or to perform mathematics on the cell values. Most of these functions are part of the raster subclass of arcgis
and are available at arcgis.raster.functions
.
Working with imagery layers
In this example, we will load an imagery layer from the web into a map and save it to disk.
You may carry on in the same Notebook as the previous section.
- The first step is to create a GIS object to access...