Documentation | ⌂ Topology Layers | « Previous | Next »
In the previous chapter we learned how topology operations automatically propagate through the hierarchy. Deleting a Feature from a lower-level Feature Layer immediately affected all dependent hierarchy levels.
In practice, topology maintenance involves much more than creating and deleting Features. Existing Features often need to be:
TatukGIS provides several topology tools that allow these operations to be performed while maintaining full topology consistency.
IMPORTANT: Modifying a Feature does not modify the underlying topology primitives. Instead, it modifies the hierarchy relationships between existing objects.
In a previous chapter we deleted a Feature from NEW_LEVEL_0 and observed how the hierarchy was updated automatically. Because the original topology Face still exists, the Feature can be recreated.
Feature restoration must always begin at the lowest hierarchy level where the object originally existed.
The missing Feature must first be recreated in the Base Feature Layer before it can become part of higher-level Features again.
Select the missing Face from NEW_FACE and use:
Topology → Create Feature...
to create a new Feature in: NEW_LEVEL_0.
After completing the wizard, the Base Feature Layer once again contains all Features derived from the topology Face layer.
Although the Feature has been recreated, it is not yet part of the higher hierarchy levels.
To restore those relationships:
This process can be repeated until the hierarchy is fully restored.
Selecting a Level 0 Feature to recreate a Level 1 Feature:
NEW_LEVEL_1 layer after Feature restoration:
There are two primary methods for modifying an existing Feature:
Both operations modify the composition of a Feature without changing the underlying topology primitives.
To extend an existing Feature, use:
Topology → Add Element(s) to Feature...
or:
fTopoTool.RunTool( TGIS_TopoTools.AddElementsToTopoFeature );
The tool wizard guides the user through selecting:
Assume the following hierarchy:
Feature A can be added to Feature X.
The resulting higher-level Feature becomes larger because it contains additional components.
The first step is selecting the Feature that will be added to an existing higher-level Feature.
In our tutorial, the selected Feature represents the object previously removed from the hierarchy. As a result, the higher-level Feature contains a visible gap that will be repaired during this operation.
After launching the tool, select the Feature to be added. The selected source Feature is highlighted in red.
The next step is selecting the destination Feature Layer. This layer will receive the selected Feature as a new hierarchy element.
Only compatible Feature Layers are available for selection.
Once the destination layer has been selected, choose the Feature that will receive the source Feature.
To distinguish between source and destination objects, TatukGIS uses different highlight colors. In our tutorial, the destination Feature is highlighted in yellow.
The destination Feature can be selected in two ways:
Selection is synchronized automatically.
After confirming the operation, the selected source Feature becomes part of the destination Feature. The hierarchy is updated automatically, and the resulting geometry is rebuilt to reflect the new Feature composition.
The gap introduced by the earlier deletion is removed and the hierarchy becomes consistent again.
The opposite operation is performed using:
Topology → Delete Feature Element...
or:
fTopoTool.RunTool( TGIS_TopoTools.DeleteTopoFeatureElement );
This tool removes individual elements from an existing Feature.
The first step is selecting the Feature that will be modified. The selected Feature becomes the target of the removal operation.
In our tutorial, the Feature selected for modification is highlighted in red.
After selecting the Feature to modify, choose the hierarchy element that should be removed from the Feature composition.
The selected element is synchronized with the drop-down list and may be selected either directly from the map or from the list of available elements.
To distinguish it from the Feature being modified, the selected element is highlighted using a yellow color.
After confirming the operation, the selected element is removed from the Feature composition.
Before:
After:
The Feature remains in the hierarchy, but its composition and geometry are updated automatically to reflect the change. The removed element becomes available for use in other hierarchy relationships and may be added to a different Feature if required.
Layer NEW_LEVEL_1 after removing the selected element:
Just like all topology operations, Feature modifications automatically affect dependent hierarchy levels.
No manual hierarchy maintenance is required.
IMPORTANT: Feature modification does not delete topology primitives. Only hierarchy relationships between Features are modified.
| Operation | Purpose |
|---|---|
| Create Feature | Create a new hierarchy object. |
| Delete Feature | Remove a hierarchy object. |
| Add Element(s) to Feature | Expand an existing Feature. |
| Delete Feature Element | Reduce an existing Feature. |
Feature modification tools are useful when:
Because geometry remains topology-based, these modifications can be performed without creating duplicated geometry.
With Feature hierarchy management covered, the next chapter focuses on geometry editing itself and explains how topology geometry can be modified through Nodes, Edges, and Feature Layers.