AnsweredAssumed Answered

IRasterCatalogLayer Statistics?

Question asked by jamesfreddyc on Dec 20, 2012
Latest reply on Dec 21, 2012 by jamesfreddyc
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,

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!

Outcomes