Feature datasets in a geodatabase in Informix
Feature datasets in a geodatabase in Informix
|
Release 9.3 |
|
Feature datasets are objects that allow you to group together related feature classes.
You would use a feature dataset to group feature classes that
- Are stored in the same coordinate system
- Participate in a topology
- Are part of a geometric network, network dataset, or terrain dataset
Feature datasets contain feature classes as well as topologies, relationship classes, feature linked annotation, geometric networks, network datasets, schematics, terrains, and cadastral fabrics. In the train depot and railroad track example presented in the feature class topic, you could group these two related feature classes together by placing them in the same dataset. You could subsequently create a topology to define how these two feature classes interact.
Use the following links to read about different components of feature datasets in Informix:
The following describes how a feature dataset would appear in ArcCatalog, in an Informix DBMS, and in an XML document.
Feature datasets in ArcCatalog
In the Catalog tree, feature datasets in an Informix database management system (DBMS) look like the following:This feature dataset is named USA, is owned by user vtest, and resides in a database called sde92.
When the feature dataset is expanded in the Catalog tree, you can see all the feature classes and other data objects that are in it.
Top of page
Feature datasets in an Informix DBMS
In the database, feature datasets are virtual collections of feature classes. They are grouped together by a common dataset ID, which is maintained in the gdb_featuredataset system table and associated with the gdb_objectclasses system table.
The following are the tables involved in a feature dataset:
For the USA feature dataset example, the feature class Cities would be linked to the USA feature dataset through the gdb_objectclasses table.
Because feature datasets are a virtual collection of objects, feature classes in feature datasets are just like stand-alone feature classes in that they have their own records in the gdb_featureclasses table and all the other tables associated with feature classes (such as layers, table_registry, geometry_columns, column_registry, and gdb_object_classes). Since feature classes associated with feature datasets are database objects in their own right, they cannot have the same name as other tables or stand-alone feature classes in the database.
Topologies, geometric networks, network datasets, and terrain datasets utilize additional system tables, which are described in separate topics.
Top of page
Feature datasets in an XML document
Feature datasets are grouped under the DatasetDefinitions tag in an XML document and separated by a DataElement tag of type FeatureDataset. The XML document entry for the Landbase dataset would look like the following:
<DatasetDefinitions xsi: type="esri:ArrayOfDataElement">
<DataElement xsi:type="esri:DEFeatureDataset">
<CatalogPath>/V=sde.DEFAULT/FD=sde92:vtest.USA</CatalogPath>
<Name>sde92:vtest.USA</Name>
<Children xsi:type="esri:ArrayOfDataElement">
<DataElement xsi:type="esri:DEFeatureClass">
<CatalogPath>/V=sde.DEFAULT/FD=sde92:vtest.USA/FC=sde92:vtest.Roads</CatalogPath>
<Name>sde92:vtest.Roads</Name>
<DatasetType>esriDTFeatureClass</DatasetType>
<DSID>17</DSID>
<Versioned>false</Versioned>
<CanVersion>true</CanVersion>
<HasOID>true</HasOID>
<OIDFieldName>objectid</OIDFieldName>
<Fields xsi:type="esri:Fields">
<FieldArray xsi:type="esri:ArrayOfField">
<Field xsi:type="esri:Field">
<Name>objectid</Name>
<Type>esriFieldTypeOID</Type>
<IsNullable>false</IsNullable>
<Length>4</Length>
<Precision>10</Precision>
<Scale>0</Scale>
<Required>true</Required>
<Editable>false</Editable>
<AliasName>OBJECTID</AliasName>
<ModelName>OBJECTID</ModelName>
</Field>
.All other DataElements
</DatasetDefinitions>
Top of page