Documentation | ⌂ Topology Layers | « Previous | Next »
One of the most powerful capabilities of the TatukGIS topology model is the ability to create hierarchical structures of Features.
Unlike traditional GIS datasets, where objects usually exist only within a single layer, topology allows Features to be organized into multiple levels of aggregation.
This hierarchy enables users to represent complex real-world structures without duplicating geometry.
Each hierarchy level is built from objects stored in its parent layer.
A Feature hierarchy defines how smaller objects are grouped into larger logical entities.
For example:
At every level, geometry remains derived from the same underlying topology primitives.
IMPORTANT: A topology hierarchy never duplicates geometry. Higher-level Features simply reference lower-level objects.
NOTE: The concept of a Base Feature Layer described in this section applies to the native SQLite topology implementation used throughout this tutorial.
In the previous chapter we created a new Feature Layer NEW_LEVEL_0.
In the SQLite topology model used in this tutorial, the layer NEW_LEVEL_0 is a Base Feature Layer because its parent is a primitive layer.
Each Feature in this layer corresponds directly to a single Face.
The next step is creating a new Feature Layer NEW_LEVEL_1 using NEW_LEVEL_0 as the parent layer in Create a new feature layer tool.
NEW_LEVEL_1 has been created and added to the project.
The process is identical to creating the first Feature Layer. The only difference is the parent selection.
IMPORTANT: Always verify that the correct parent layer is selected. The hierarchy structure depends entirely on parent-child relationships.
Unlike Base Feature Layers, higher-level Feature Layers can contain multi-geometries.
To demonstrate this concept:
NEW_LEVEL_0.NEW_LEVEL_1 as the destination layer.
The result is a single Feature in NEW_LEVEL_1 constructed from two Features originating from NEW_LEVEL_0.
Repeat the process using another pair of Features.
A result is MultiPolygon Features in NEW_LEVEL_1.
The resulting hierarchy becomes:
The hierarchy can now be extended further.
Create another Feature Layer NEW_LEVEL_2 using NEW_LEVEL_1 as its parent in Create a new feature layer tool.
NEW_LEVEL_2 layer has been created.
Select the two Features created in NEW_LEVEL_1 and create a new Feature in NEW_LEVEL_2.
The result becomes:
Resulting Feature has been created in NEW_LEVEL_2
As hierarchy levels increase, geometry becomes progressively more aggregated.
| Layer | Geometry | Objects |
|---|---|---|
| NEW_LEVEL_0 | Polygon | 4 |
| NEW_LEVEL_1 | MultiPolygon | 2 |
| NEW_LEVEL_2 | MultiPolygon | 1 |
At each level, geometry remains derived from the same topology primitives.
IMPORTANT: The geometry displayed in higher-level Features is not copied geometry. It is dynamically derived from lower-level topology objects.
TatukGIS does not impose a fixed hierarchy depth. Additional levels can be created whenever required.
This makes the topology framework suitable for a wide range of real-world data models.
Feature hierarchies can be used to model a wide range of real-world spatial structures. The following examples illustrate how topology Features can be aggregated into progressively higher levels while preserving a single, consistent geometry foundation.
In all examples below, the lowest hierarchy level is ultimately derived from topology primitives. The examples focus on Feature Layer hierarchies rather than the underlying topology structure.
Administrative Hierarchy
Utilities
Land Use
Now that the hierarchy has been established, the next chapter examines how topology operations propagate through that hierarchy and how changes made at lower levels automatically affect higher-level Feature Layers.