gilest

RasterDataset - NoData, how to set based on format and/or pixel type/depth?

Discussion created by gilest on Jun 19, 2013
Latest reply on Jul 1, 2013 by gilest
In ArcCatalog if you open the propreties of a RasterDataset you can edit the value of the NoData value.  On the Edit form, there's a button that says Compute (see attached).  I'm guessing this is based on the raster's pixel type & depth.  Is there a method on one of the many raster interfaces that can determine this value for you or do I need to write my own, e.g. using IRasterInfo::PixelType and switch statement?

Thanks, TG

Attachments

Outcomes