Is there a way to find a point with highest elevation in specified area by using ArcObjects? Let's say that I have a raster with DEM and I would like to establish some areas of interest in this raster. In each AOI, I would need to find a point where terrain has the highest elevation and return coordinates of this point.
I looked into ArcObjects API and I found only a manual way to discover such point, that is:
- Establish AOIs
- For each AOI, find corresponding pixels in the raster
- Having sets of pixels defined for AOIs, iterate over each set and return a point with highest elevation
This process is doable but absolutely impractical due to performance concerns.