Calculate cell statistics using RasterLocalOp


Purpose
This sample demonstrates how to calculate cell-by-cell statistics using ILocalOp.LocalStatistics.

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the application. The application calculates cell-by-cell statistics and returns a raster that includes this information.


Download the files for Java
spatialanalyst/CalculateCellStatistics.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime: Spatial
ArcView: Spatial Analyst
ArcEditor: Spatial Analyst
ArcInfo: Spatial Analyst