ArcObjects Library Reference (GeoDatabase)  

IRasterDataset Interface

Provides access to members that control a raster dataset. Note: the IRasterDataset interface has been superseded byIRasterDataset3. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method CanCopy Returns true if this dataset can be copied.
Read-only property CompleteName The full path of the RasterDataset.
Read-only property CompressionType The compression technique applied to this RasterDataset.
Method Copy Copies this dataset to a new dataset with the specified name.
Method CreateDefaultRaster Creates a raster object with the default properties for this dataset.
Read-only property Format The format of this RasterRataset.
Method PrecalculateStats Calculates statistics and histograms for specified bands.
Read-only property SensorType The sensor type used for this RasterDataset.

CoClasses that implement IRasterDataset

CoClasses and Classes Description
FunctionRasterDataset (esriDataSourcesRaster) A class for a function raster dataset.
RasterBand (esriDataSourcesRaster) A representation of a single band of a raster dataset on disk.
RasterDataset (esriDataSourcesRaster) A representation of a raster dataset on disk.


The IRasterDataset interface provides basic access to the properties of a raster dataset such as format, compression type etc. It also allows to create a Raster object of the raster dataset.

See Also

IRasterPyramid3 Interface

.NET Snippets

Create BitwiseOp Right Shift Raster | Create TrigOp Cos Raster | Create LogicalOp Combinatorial OR Raster | Create TrigOp ATanH Raster | Create TrigOp CosH Raster | Create LogicalOp Boolean AND Raster | Create BitwiseOp AND Raster | Create DistanceOp Cost Distance Raster | Create LogicalOp Boolean XOR Raster | Create LogicalOp Combinatorial AND Raster | Create ExtractOp Circle Raster | Open Raster File As GeoDatset | Create TrigOp SinH Raster | Create GeneralizeOp Aggregate Raster | Create MathOp Square Root Raster | Create TrigOp Sin Raster | Create LogicalOp Boolean NOT Raster | Create MathOp Times Raster | Create DistanceOp EucDirection Raster | Create MathOp Round Up Raster | Create DistanceOp CostDistanceFull Cost Allocation Raster | Create DistanceOp Corridor Raster | Create LogicalOp Boolean OR Raster | Create TrigOp ACosH Raster | Create BitwiseOp OR Raster | Create MathOp Square Raster | Create DistanceOp Cost Allocation Raster | Create LocalOp Combine Raster | Create DistanceOp CostDistanceFull Backlink Raster | Create DistanceOp EucDistanceFull Direction Raster | Create TrigOp ASin Raster | Create BitwiseOp NOT Raster | Create GeneralizeOp Boundary Clean Raster | Create TrigOp ASinH Raster | Create DistanceOp Cost Path Raster | Create DistanceOp EucDistanceFull Allocation Raster | Create ExtractionOp Attribute Raster | Create TrigOp TanH Raster | Create TrigOp ATan2 Raster | Create LogicalOp Combinatorial XOR Raster | Create HydrologyOp Basin Raster | Add GeoDataset Raster To Map | Create TrigOp ACos Raster | Create TrigOp Tan Raster | Create DistanceOp CostDistanceFull Least Accumulative Cost Raster | Create DistanceOp EucAllocation Raster | Create DistanceOp Cost Back Link Raster | Create MathOp Round Down Raster | Create Grid From Feature Class | Create NeighborhoodOp Block Statistics Raster | Create BitwiseOp Left Shift Raster | Create DistanceOp EucDistanceFull Distance Raster | Create ConditionalOp Con Raster | Create MathOp ABS Raster | Create TrigOp ATan Raster

.NET Samples

Create a Raster Function template (Code Files: CreateRasterFunctionTemplate) | Create a custom raster type (Code Files: ThumbnailBuilder) | Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Create a custom raster type from the ground up for DMCII data (Code Files: DMCIIRasterType TestDMCIIRasterType) | Publish an image service and set configurations (Code Files: ISConfig) | Create a Math Function Raster dataset (Code Files: CreateMathFunctionRasterDataset) | Create a Mosaic dataset (Code Files: CreateMosaicDataset) | Create a custom default raster renderer (Code Files: RasterRendererMaker_1bit_TIFF_VBNET) | Create an NDVI custom raster function (Code Files: NDVICustomFunction NDVICustomFunctionUIForm TestNDVICustomFunction) | Create a Function Raster dataset (Code Files: CreateFunctionRasterDataset) | Create a custom raster function (Code Files: TestWatermarkFunction WatermarkFunction WatermarkFunctionUIForm)

.NET Related Topics

Accessing a raster dataset in a raster catalog | Accessing ECWP service | Accessing HDF and NITF subdatasets | Converting data using GeoAnalyst objects | Data processing in spatial analysis operations | DataSourcesRaster | Deferred evaluation | Executing a map algebra expression | Geodatabase | Handling multiband output | How to access a raster catalog | How to access a raster dataset | How to access JPEG EXIF tags | How to access OGC WCS coverage | How to access pixel data using the RawBlocks object | How to add or remove a color map from a raster dataset | How to build a raster attribute table | How to convert a raster dataset to a JPEG2000 raster dataset | How to create a raster classify renderer | How to create a raster dataset | How to erase a portion of a geodatabase raster dataset | How to load a raster dataset to the raster field in a feature class | How to orthorectify an image | How to persist a geodata transformation on a raster dataset | How to save a function raster dataset into a raster dataset | How to save and load color maps | How to save raster data and set storage properties | How to split a raster dataset into multiple tiles | Performing a spatial analysis operation using objects | Working with helper objects