User Tools

Site Tools


doc:topologylayer:1100

Modifying Existing Features

Documentation | ⌂ Topology Layers | « Previous | Next »

  • Features can be restored from topology primitives.
  • Existing Features may be expanded or reduced.
  • Feature modifications change hierarchy relationships.
  • Topology primitives remain unchanged during Feature modifications.

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:

  • Restored
  • Expanded
  • Reduced
  • Reorganized
  • Reassigned within the hierarchy

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.

Restoring a Deleted Feature

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.

Topology Restoration Principle

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.

Recreate the Base Feature

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.

Restore Higher-Level Relationships

Although the Feature has been recreated, it is not yet part of the higher hierarchy levels.

To restore those relationships:

  1. Select the newly recreated Feature.
  2. Launch the Create Feature wizard.
  3. Choose the next hierarchy level as destination.
  4. Complete the operation.

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:

Modifying Existing Features

There are two primary methods for modifying an existing Feature:

  • Add Elements to a Feature
  • Delete Feature Elements

Both operations modify the composition of a Feature without changing the underlying topology primitives.

Adding Elements to an Existing Feature

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:

  1. The source Feature.
  2. The destination layer.
  3. The destination Feature.

Example data

Assume the following hierarchy:

Feature A can be added to Feature X.

The resulting higher-level Feature becomes larger because it contains additional components.

Selecting the Source Feature

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.

Selecting the Destination Layer

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.

Selecting the Destination Feature

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:

  • Using the drop-down list
  • By clicking directly on the map

Selection is synchronized automatically.

Result of Adding Elements

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.

Removing Elements from an Existing Feature

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.

Selecting the Feature to Modify

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.

Selecting the Feature Element

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.

Result of Removing Elements

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:

Impact on Higher Levels

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.

Comparison of Feature Operations

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.

Practical Applications

Feature modification tools are useful when:

  • Administrative boundaries change.
  • Service areas are reorganized.
  • Districts are expanded.
  • Network regions are combined.
  • Hierarchy structures are corrected.

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.

« Previous | Next »

2026/09/24 17:12

Page Tools