Provides access to members that provide information about a Geographic Dataset.
| Description | ||
|---|---|---|
![]() |
Extent | The extent of the GeoDataset. |
![]() |
SpatialReference | The spatial reference of the GeoDataset. |
| CoClasses and Classes | Description |
|---|---|
| CadAnnotationLayer (esriCarto) | An ESRI Cad annotation layer. |
| CadastralFabric (esriGeoDatabaseExtensions) | A container for querying information about a cadastral fabric. |
| CadastralFabricLayer (esriCarto) | Cadastral Fabric Layer Object. |
| CadFeatureLayer (esriCarto) | ESRI CAD Feature Layer class. |
| CadLayer (esriCarto) | ESRI CAD Layer class. |
| CompositeGraphicsLayer (esriCarto) | A collection of graphics layers that behave like single layer. |
| CoverageAnnotationLayer (esriCarto) | An ESRI coverage annotation layer. |
| DimensionLayer (esriCarto) | A collection of properties for a dimension layer. |
| FDOGraphicsLayer (esriCarto) | A collection of properties for an annotation layer (feature data object graphics layer). |
| FDOGraphicsSublayer (esriCarto) | A collection of properties for an annotation sublayer layer (feature data object graphics sublayer). |
| FeatureClass | FeatureClass Object. |
| FeatureClassDescriptor (esriGeoAnalyst) | GeoAnalyst FeatureClass descriptor object. |
| FeatureDataset | FeatureDataset Object. |
| FeatureLayer (esriCarto) | A collection of features and their visual representation. |
| ForceElementLayer (esriMOLE) | A custom layer, bound to a feature layer, that wraps a force element display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display. |
| GdbRasterCatalogLayer (esriCarto) | Geodabase RasterCatalog source and display options. |
| GeometricNetwork | ESRI Geometric Network object. |
| GlobeGraphicsLayer (esriGlobeCore) | The Globe Graphics Layer. |
| GlobeLayer (esriGlobeCore) | The cache-only globe layer. |
| GlobeServerLayer (esriGlobeCore) | Provides programmatic access to a globe server layer. |
| GraphicsLayer3D (esri3DAnalyst) | A 3D Graphics Layer. |
| GroupLayer (esriCarto) | A collection of layers that behaves like a single layer. |
| IMSMapLayer (esriCarto) | A container for the display and manipulation of IMS layers. |
| IMSSubFeatureLayer (esriCarto) | IMS Sub-FeatureLayer class |
| JoinedControlPointLayer (esriCadastralUI) | Layer object that represents Control Points |
| JoinedLinePointLayer (esriCadastralUI) | Layer object that represents Joined LinePoints |
| JoinedParcelLayer (esriCadastralUI) | Layer object that represents Joined Parcels |
| JoinedParcelLineLayer (esriCadastralUI) | Layer object that represents Joined Parcel Lines |
| JoinedPointLayer (esriCadastralUI) | Layer object that represents Joined Points |
| KmlLayer (esriGlobeCore) | ESRI KML Layer class. |
| MADtedLayer (esriMilitaryAnalyst) | A layer used to control the display of MA DTED Catalogs. |
| MapServerBasicSublayer (esriCarto) | Provides programmatic access to a basic map server sublayer. |
| MapServerFindSublayer (esriCarto) | Provides programmatic access to a map server sublayer with Find capability. |
| MapServerIdentifySublayer (esriCarto) | Provides programmatic access to a map server sublayer with Identify capability. |
| MapServerLayer (esriCarto) | Provides programmatic access to a map server layer. |
| MapServerQuerySublayer (esriCarto) | Provides programmatic access to a map server sublayer with Find and Identify capability. |
| MARasterLayer (esriMilitaryAnalyst) | A layer used to control the display of MA RPF Catalogs. |
| MosaicRaster (esriDataSourcesRaster) | A mosaic of rasters. |
| NALayer (esriNetworkAnalyst) | The layer for defining, solving and viewing network analysis results. |
| NetCDFFeatureClass (esriDataSourcesNetCDF) | An in-memory representation of a NetCDF feature class. |
| NetCDFRasterBand (esriDataSourcesNetCDF) | A representation of a single band of a NetCDF raster dataset on disk. |
| NetCDFRasterDataset (esriDataSourcesNetCDF) | A representation of a NetCDF raster dataset on disk. |
| NetworkDataset | A container for querying information about a network dataset. |
| NetworkLayer (esriCarto) | ESRI Network Layer CoClass. |
| PacketJoinedLayer (esriCadastralUI) | Layer object that represents a packet of Joined Parcels, Lines, Points, Control Points, LinePoints and Text |
| ProcessLayer (esriGeoprocessing) | A collection of process layers that behaves like a single layer. |
| Raster (esriDataSourcesRaster) | An in-memory representation of a dynamic raster that can perform resampling and reprojection. |
| RasterBand (esriDataSourcesRaster) | A representation of a single band of a raster dataset on disk. |
| RasterCatalog | A collection of raster datasets in a Geodatabase table. |
| RasterCatalogLayer (esriCarto) | Raster catalog source and display options. |
| RasterCatalogTable (esriDataSourcesRaster) | A special type of table used to display multiple rasters simultaneously. |
| RasterDataset (esriDataSourcesRaster) | A representation of a raster dataset on disk. |
| RasterDescriptor (esriGeoAnalyst) | GeoAnalyst Raster descriptor object. |
| RasterLayer (esriCarto) | Raster layer source and display options. |
| RouteEventSource (esriLocation) | Route event source object. |
| SchematicDataset (esriSchematic) | Schematic dataset object. |
| SchematicDiagram (esriSchematic) | Schematic diagram object. |
| SchematicLayer (esriSchematic) | Schematic layer object. |
| SdeRasterCatalogTable (esriDataSourcesRaster) | A class for managing 8.x ArcSDE RasterCatalogs. |
| SearchResultsLayer (esriCatalog) | A layer that lets you preview a search result in the Geography tab. |
| TacticalGraphicLayer (esriMOLE) | A custom layer, bound to a feature layer, that wraps a tactical graphic display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display. |
| TemporalFeatureClass (esriTrackingAnalyst) | Controls settings for the temporal feature class. |
| TemporalFeatureLayer (esriTrackingAnalyst) | Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object. |
| Terrain (esriGeoDatabaseExtensions) | The ESRI Terrain component. |
| TerrainLayer (esriCarto) | Terrain Layer class. |
| Tin | The ESRI TIN component. |
| TinLayer (esriCarto) | The TIN Layer class. |
| Topology | ESRI Topology Object. |
| TopologyLayer (esriCarto) | A collection of properties for a topology layer. |
| WMSGroupLayer (esriCarto) | WMS GroupLayer class |
| WMSMapLayer (esriCarto) | A container for the display and manipulation of WMS layers. |
| XYEventSource | XY event source object. |
This interface provides access to information about spatial datasets, in particular their spatial reference and geographic extent. All layers also implement this interface.
//this function uses the Geodatasets extent to refersh the active view of a map control.
public void IGeoDataset__(IFeatureClass featureClass, ESRI.ArcGIS.Controls.IMapControl4 mapControl)
{
ESRI.ArcGIS.Carto.IActiveView activeView = mapControl.ActiveView;
IGeoDataset geoDataset = featureClass as IGeoDataset;
//You can force an update of the IGeodataset.Extent with IFeatureClassManage::UpdateExtent
activeView.Extent = geoDataset.Extent;
activeView.Refresh();
}
Dim pGeoDataset As IGeoDataset
Set pGeoDataset = pLayer
pActiveView.Extent = pGeoDataset.Extent
pActiveView.Refresh