Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

IRasterCatalogLayer Statistics?

$
0
0
I am trying to apply some existing VBA code that works for a Raster on a RasterCatalogLayer. The existing code sets up a new renderer and classifies it with a specific minimum and maximum value for the renderer, which is done by way of IRasterStatistics. For example,

Code:

Dim pStats As IRasterStatistics
Set pStats = pRasBand.Statistics
pStats.Minimum = d_dMin
pStats.Maximum = d_dMax

Can someone show and example of how to perform the above on an IRasterCatalogLayer? That is, we have moved all of the standalone rasters into a new RasterCatalog and now tasked with generating the required renderer.

Thanks!

Viewing all articles
Browse latest Browse all 1374

Trending Articles