This document is archived and information here might be outdated. Recommended version. |
Extracts the cells of a raster whose corresponding cells in the mask raster have valid value.
[Visual Basic .NET] Public Function Raster ( _ ByVal geoDataset As IGeoDataset, _ ByVal maskRaster As IGeoDataset _ ) As IGeoDataset
[C#] public IGeoDataset Raster ( IGeoDataset geoDataset, IGeoDataset maskRaster );
[C++]
HRESULT Raster(
IGeoDataset* geoDataset,
IGeoDataset* maskRaster
);
[C++] Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset* maskRaster [in]
maskRaster is a parameter of type IGeoDataset*
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor The geoDataset identifies the cell values which will be selected inside or outside of a specified polygon. |
maskRaster |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor The maskRaster identifies only those cells within the analysis extent that will be considered when performing an extraction. Only the identified cells will be processed in subsequent output raster datasets. All other cells are characterized as nodata. |