User Tools

Site Tools


doc:topologylayer:0900

Building Feature Hierarchies

Documentation | ⌂ Topology Layers | « Previous | Next »

  • Feature hierarchies can contain multiple levels.
  • Higher-level Features are built from lower-level Features.
  • Multi-geometries can be formed through feature aggregation.
  • Hierarchies allow complex data models without duplicating geometry.

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.

Understanding Feature Hierarchies

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.

Level 0 – Base Feature Layer

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.

Creating a First-Level Hierarchy

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.

First MultiPolygon Features

Unlike Base Feature Layers, higher-level Feature Layers can contain multi-geometries.

To demonstrate this concept:

  1. Select two Features from NEW_LEVEL_0.
  2. Launch the Create Feature wizard.
  3. Select NEW_LEVEL_1 as the destination layer.
  4. Complete the wizard.

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:

Creating a Second-Level Hierarchy

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

Geometry Evolution Across Levels

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.

Unlimited Hierarchy Depth

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.

Practical Examples

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

Benefits of Hierarchical Features

  • No duplicated geometry.
  • Automatic synchronization between hierarchy levels.
  • Simplified maintenance.
  • Consistent topology across the entire dataset.
  • Scalable data organization.
  • Support for multi-geometry objects.

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.

« Previous | Next »

2026/09/24 17:12

Page Tools