Documentation | ⌂ Topology Layers | « Previous | Next »
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.
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.
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 );
}
The Delete Feature wizard requires selecting the Feature that should be removed.
After confirmation, the Feature is removed from the 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.
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:
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:
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.
| 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.
The next chapter focuses on modifying existing Features and explains how hierarchy structures can be expanded, reduced, and restored while maintaining topology consistency.