Documentation | ⌂ Topology Layers | « Previous | Next »
After creating a Feature Layer, the layer exists within the topology hierarchy but does not yet contain any Feature objects.
The next step is populating the Feature Layer with topology Features.
A Feature is a logical object derived from topology primitives or from objects stored in a parent Feature Layer.
Examples include:
IMPORTANT: Feature Layers do not automatically create Feature objects. Features must be explicitly created using the Create Feature tool.
Features are created using:
Topology → Create Feature...
or programmatically through:
fTopoTool.RunTool( TGIS_TopoTools.CreateTopoFeature );
The operation is performed through a guided wizard.
The wizard guides the user through selecting source objects and defining the destination Feature Layer.
In the previous chapter we created the Feature Layer NEW_LEVEL_0 from the Primitive layer NEW_FACE.
At this point:
NEW_FACE contains topology Faces.NEW_LEVEL_0 exists but is empty.Our goal is to populate the layer using Face objects.
The first page of the wizard requires selecting objects from the parent layer.
Activate the layer NEW_FACE and select all Faces that should become Features.
The selected Face primitives become the source objects for the Feature creation process.
The next wizard page asks for the destination layer.
In this example we select NEW_LEVEL_0 as the target Feature Layer.
A topology may contain multiple compatible child layers; therefore, all valid destination layers are displayed.
For example:
Each of these layers could potentially receive Features derived from the same Faces.
After selecting the destination layer, press OK.
TatukGIS creates Feature objects in the target layer.
An important aspect of the topology model is that geometry is not duplicated.
The Face primitives remain part of the topology structure.
The Create Feature operation establishes relationships between topology primitives and Feature objects.
The source topology primitives remain unchanged. The operation simply creates new Feature objects in the destination Feature Layer and establishes the necessary topology relationships. Topology primitives remain the authoritative source of geometry throughout the hierarchy.
IMPORTANT: Creating Features does not duplicate geometry. Feature objects reference topology primitives rather than storing their own independent geometry.
The same workflow applies to both Node-based and Edge-based Feature Layers.
Selected Nodes become Feature objects.
Selected Edges become Feature objects.
Topology primitives describe geometry.
Features describe meaning.
The Feature Layer architecture separates topology management from business logic while maintaining a consistent geometry representation.
So far, we have created Features directly from topology primitives.
This creates the first level of the hierarchy.
The next step is creating additional hierarchy levels that group existing Features into larger logical objects.
NOTE: Higher-level Feature Layers are not limited to single geometries. They may contain MultiPoint, MultiPolyline, and MultiPolygon Features.
With the first Feature objects created, the next chapter introduces Feature Layer hierarchies and explains how single Features can be combined into complex MultiPoint, MultiPolyline, and MultiPolygon objects.