Compute the slope of a raster dataset


Purpose
This sample demonstrates how to build and persist the slope map raster dataset of a digital elevation model (DEM).
The following values are used in this sample application:
  • Input raster dataset
  • Slope dataset
The slope of the raster dataset exists with the name you give it.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Compile and run the application.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

scenario/RasterDatasetSlope.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine: Spatial Analyst
ArcGIS for Desktop Basic: Spatial Analyst