Documentation | ⌂ Topology Layers | « Previous | Next »
After creating topology primitives, the next step is building user-oriented topology objects.
While Nodes, Edges, and Faces define the topology structure, they rarely represent real-world business entities directly.
For example:
To organize topology primitives into meaningful GIS objects, TatukGIS introduces the concept of Feature Layers.
IMPORTANT: Feature Layers do not create new geometry. They organize existing topology primitives and lower-level Features into business-oriented objects.
Every topology project contains two categories of layers:
Feature Layers store logical objects derived from primitives and other Feature Layers.
Feature Layers are created through:
Topology → Create Feature Layer
or programmatically through:
fTopoTool.RunTool( TGIS_TopoTools.CreateFeatureLayer );
The Create Feature Layer dialog allows users to define a new Feature Layer and configure its relationship to the existing topology hierarchy.
The dialog contains all parameters required to create a new Feature Layer. These parameters are described in the following sections.
The Create Feature Layer dialog requires several parameters.
Choose the topology in which the new Feature Layer will be created. A single GIS project may contain multiple topologies stored within the same or different databases. This parameter determines which topology structure the new Feature Layer will belong to.
Every Feature Layer must have a parent.
The parent may be:
IMPORTANT: Feature Layers always inherit objects from their parent layer.
A new logical layer name must be provided.
Example input: LEVEL_0
Resulting layer name: NEW_LEVEL_0
NOTE: Layer names must not contain the topology schema name. The schema prefix is automatically prepended to the physical layer name during creation.
Optionally, field definitions may be copied from the parent layer.
NOTE: The Base Feature Layer model described in this section applies to the native SQLite topology implementation used in this tutorial.
The first Feature Layer level is called a Base Feature Layer.
A Base Feature Layer is defined as:
Examples:
Base Feature Layers always contain single-part geometries:
| Parent Layer | Geometry Type |
|---|---|
| NODE | Point |
| EDGE | Polyline |
| FACE | Polygon |
IMPORTANT: Base Feature Layers never contain MultiPoint, MultiPolyline, or MultiPolygon geometries.
Once a Base Feature Layer exists, additional hierarchy levels can be created.
Unlike Base Feature Layers, higher-level Feature Layers may contain multi-geometries.
| Parent Geometry | Result Geometry |
|---|---|
| Point | MultiPoint |
| Polyline | MultiPolyline |
| Polygon | MultiPolygon |
NOTE: The examples shown in this chapter use SQLite topology, where the Base Feature Layer contains single-part geometries and higher hierarchy levels may contain multi-geometries.
When creating a new Feature Layer, attribute definitions may be copied from the parent Feature Layer.
The Create Feature Layer dialog allows users to select which attribute fields should be copied to the new layer. This makes it possible to reuse only those fields that are relevant for the new hierarchy level. This approach allows each hierarchy level to maintain its own attribute structure while preserving only the information required at that level.
Copying attribute definitions is available only when the parent is another Feature Layer. Primitive layers do not provide user-defined attribute structures for copying.
NOTE: Attribute definitions are copied only when the Feature Layer is created. Subsequent changes made to the parent layer structure are not propagated automatically to existing child layers.
Feature Layers add semantic meaning to topology primitives.
The same topology can therefore support multiple business-specific data models without duplicating geometry.
With the Feature Layer structure in place, the next chapter focuses on creating actual topology Features and populating the hierarchy with real objects derived from topology primitives.