Create and use a raster layer made from a local raster file.
Rasters can be digital aerial photographs, imagery from satellites, digital pictures, or even scanned maps. An end-user will frequently need to import raster files acquired through various data-collection methods into their map to view and analyze the data.
When the sample starts, a raster will be loaded from a file and displayed in the map view.
- Create a
Raster
from a raster file. - Create a
RasterLayer
from the raster. - Add it as an operational layer with
Map.OperationalLayers.Add(layer)
.
- Raster
- RasterLayer
This sample downloads the following items from ArcGIS Online automatically:
- raster-file.zip - Tif raster file
See the topic What is raster data? in the ArcMap documentation for more information about raster images.
data, image, import, layer, raster, visualization