User Tools

Site Tools


doc:topologylayer:1000

Hierarchical Topology Operation

Documentation | ⌂ Topology Layers | « Previous | Next »

  • Feature Layers are connected through hierarchy relationships.
  • Changes in lower levels affect higher levels automatically.
  • Hierarchy synchronization is performed automatically.
  • Topology relationships remain consistent after modifications.

One of the fundamental differences between topology and traditional GIS data management is the way editing operations affect related objects.

In shapefiles, GeoPackages, GeoJSON files, and most simple-geometry storage formats, objects are typically independent. Modifying one object usually affects only that object.

Topology follows a completely different philosophy. Because Feature Layers are connected through parent-child relationships, changes performed at lower levels automatically affect all dependent objects higher in the hierarchy.

IMPORTANT: Topology should not be viewed as a collection of independent layers. Instead, it should be viewed as a connected hierarchy where objects depend on one another.

Understanding Hierarchical Propagation

Consider the hierarchy created in the previous chapter:

Objects stored in NEW_LEVEL_2 are ultimately derived from objects stored in NEW_LEVEL_1, which are themselves derived from NEW_LEVEL_0 and, eventually, from topology Faces. This means that any modification performed at the lower levels immediately affects higher levels.

Deleting a Feature

To demonstrate hierarchy propagation, we will remove one Feature from the Base Feature Layer NEW_LEVEL_0.

The operation is performed using:

Topology → Delete Feature...

or:

fTopoTool.RunTool(
  TGIS_TopoTools.DeleteTopoFeature
);

}

Deletion Workflow

The Delete Feature wizard requires selecting the Feature that should be removed.

  1. Select the Feature Layer.
  2. Select the target Feature.
  3. Launch the Delete Feature wizard.
  4. Confirm the operation.

After confirmation, the Feature is removed from the layer.

Immediate Impact on the Base Layer

Assume the layer originally contained four Features: Feature 1, Feature 2, Feature 3 and Feature 4.

After deleting Feature 1, the object is removed from the Base Feature Layer, leaving three remaining Features.

Automatic Hierarchy Updates

The most interesting aspect of topology appears after the deletion.

Suppose that before the deletion:

After Feature 1 is removed:

Feature A still exists, but its geometry is modified because one of its components is no longer available.

The same process continues through all higher levels. The result of automatic update of NEW_LEVEL_1 after deleting a Level 0 Feature:

Geometry Changes at Higher Levels

Changes introduced at lower hierarchy levels automatically propagate to all higher levels. As a result, dependent Features are recalculated to preserve topology consistency throughout the hierarchy. No manual synchronization is required.

Automatic update of NEW_LEVEL_2 after hierarchy recalculation:

Why This Happens

The automatic updates observed in the previous sections are a direct result of the topology hierarchy model.

Higher-level Features are derived from lower-level Features rather than storing independent copies of their geometry. When a Feature is removed, all dependent Features must be recalculated to reflect the new hierarchy structure. This relationship allows topology to maintain consistency across the entire hierarchy without requiring manual synchronization.

Comparison with Traditional GIS

Traditional GIS Topology
Delete Polygon Delete Feature
One Object Changes Entire Hierarchy Updates
Independent Geometry Shared Geometry
Manual Synchronization Automatic Synchronization

This automatic propagation is one of the most important benefits of topology-based data management.

Benefits of Hierarchical Operations

  • Automatic synchronization between layers.
  • No duplicated geometry.
  • Consistency throughout the hierarchy.
  • Reduced maintenance effort.
  • Simplified editing workflows.
  • Improved data integrity.

The next chapter focuses on modifying existing Features and explains how hierarchy structures can be expanded, reduced, and restored while maintaining topology consistency.

« Previous | Next »

2026/09/24 17:12

Page Tools