Feature datasets in a geodatabase in Informix
Feature datasets are objects that allow you to group together related feature classes so they can participate in specific functionality. You would use a feature dataset to group feature classes that have the following characteristics:
- They are stored in the same coordinate system.
- They participate in a topology.
- They are part of a relationship class.
- They are part of a geometric network, network dataset, schematic dataset, cadastral fabric, or terrain dataset.
Use the following links to read about different components of feature datasets in Informix:
The following describes how a feature dataset would appear in the Catalog window, in the database management system (DBMS), and in an XML document.
Feature datasets in ArcGIS Desktop
In the Catalog tree, feature datasets are represented with the following icon:
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.
The name of a feature dataset in a geodatabase in IBM Informix contains the database name, followed by a colon (:), the dataset owner's name, and the name of the feature dataset itself. This can be seen in the preceding graphic.
Feature datasets in an IBM Informix database
In the database, feature datasets are virtual collections of feature classes. They are grouped together by a common ID, which is maintained in the gdb_items system table.
For the Water feature dataset example, the feature class, tanks, is identified as part of the Water feature dataset through the gdb_itemrelationships table. The uuid of the feature dataset is the originid, and the uuid of the feature class is the destid.
The following shows the tanks feature class business table and the system tables that track the Water feature dataset in Informix:
Dashed lines indicate implicit relationships between columns; solid lines indicate explicit relationships between columns.
Because feature datasets are virtual collections of objects, feature classes in feature datasets are just like stand-alone feature classes in that they have their own records in the tables associated with feature classes such as layers, table_registry, sde_geometry_columns, and column_registry. 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 same schema in the database.
See Feature classes in a geodatabase in Informix for a diagram of feature class relationships in the geodatabase.
Topologies, geometric networks, network datasets, parcel fabrics, schematic datasets, and terrain datasets are additional database objects that can be part of a feature dataset. These objects use additional system tables, which are described in separate topics.
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 Water dataset would look like the following:
<DatasetDefinitions xsi: type="esri:ArrayOfDataElement"> <DataElement xsi:type="esri:DEFeatureDataset"> <CatalogPath>/V=sde.DEFAULT/FD=gdb.Water</CatalogPath> <Name>gis:gdb.Water</Name> <Children xsi:type="esri:ArrayOfDataElement"> <DataElement xsi:type="esri:DEFeatureClass"> <CatalogPath>/V=gis:gdb.Water/RC=gis:gdb.Anno_19_72</CatalogPath> <Name>gis:gdb.Anno_19_72</Name> <DatasetType>esriDTFeatureClass</DatasetType> <DSID>1</DSID> <Versioned>false</Versioned> <CanVersion>true</CanVersion> <HasOID>false</HasOID> <OIDFieldName/> <Fields xsi:type="esri:Fields"> <FieldArray xsi:type="esri:ArrayOfField"> </Fields>
All other data elements
</DatasetDefinitions>
Though the <Versioned> tag is set to false for the feature dataset, this does not reflect the versioned state of the feature classes in the feature dataset. To find this information, query each individual feature class.