public class RasterDataset : BasicRasterDataset, System.IDisposable
Public Class RasterDataset Inherits BasicRasterDataset Implements System.IDisposable
public class RasterDataset : BasicRasterDataset, System.IDisposable
Public Class RasterDataset Inherits BasicRasterDataset Implements System.IDisposable
// Create a FileSystemConnectionPath using the folder path. FileSystemConnectionPath connectionPath = new FileSystemConnectionPath(new System.Uri(@"C:\Temp"), FileSystemDatastoreType.Raster); // Create a new FileSystemDatastore using the FileSystemConnectionPath. FileSystemDatastore dataStore = new FileSystemDatastore(connectionPath); // Open the raster dataset. RasterDataset fileRasterDataset = dataStore.OpenDataset<RasterDataset>("Sample.tif");
// Create a FileGeodatabaseConnectionPath using the path to the gdb. Note: This can be a path to a .sde file. FileGeodatabaseConnectionPath geodatabaseConnectionPath = new FileGeodatabaseConnectionPath(new Uri(@"C:\Temp\rasters.gdb")); // Create a new Geodatabase object using the FileGeodatabaseConnectionPath. Geodatabase geodatabase = new Geodatabase(geodatabaseConnectionPath); // Open the raster dataset. RasterDataset gdbRasterDataset = geodatabase.OpenDataset<RasterDataset>("sample");
System.Object
ArcGIS.Core.CoreObjectsBase
ArcGIS.Core.Data.Dataset
ArcGIS.Core.Data.Raster.BasicRasterDataset
ArcGIS.Core.Data.Raster.RasterDataset
ArcGIS.Core.Data.Raster.FunctionRasterDataset
Target Platforms: Windows 11, Windows 10