User Tools

Site Tools


doc:topologylayer:0700

Feature Layers

Documentation | ⌂ Topology Layers | « Previous | Next »

  • Feature Layers provide business meaning to topology primitives.
  • Feature Layers are created within a topology.
  • Base Feature Layers are derived directly from topology primitives.
  • Higher-level Feature Layers support hierarchical data organization.

After creating topology primitives, the next step is building user-oriented topology objects.

While Nodes, Edges, and Faces define the topology structure, they rarely represent real-world business entities directly.

For example:

  • A Face is not necessarily a parcel.
  • An Edge is not necessarily a road.
  • A Node is not necessarily a utility junction.

To organize topology primitives into meaningful GIS objects, TatukGIS introduces the concept of Feature Layers.

IMPORTANT: Feature Layers do not create new geometry. They organize existing topology primitives and lower-level Features into business-oriented objects.

Primitive Layers versus Feature Layers

Every topology project contains two categories of layers:

  • Primitive Layers: NEW_NODE, NEW_EDGE, and NEW_FACE store the topology primitives.
  • Feature Layers: NEW_LEVEL_0, NEW_LEVEL_1, NEW_LEVEL_2, and subsequent layers store topology Features.

Feature Layers store logical objects derived from primitives and other Feature Layers.

Creating a New Feature Layer

Feature Layers are created through:

Topology → Create Feature Layer

or programmatically through:

fTopoTool.RunTool(
  TGIS_TopoTools.CreateFeatureLayer
);

The Create Feature Layer dialog allows users to define a new Feature Layer and configure its relationship to the existing topology hierarchy.

The dialog contains all parameters required to create a new Feature Layer. These parameters are described in the following sections.

Feature Layer Creation Workflow

The Create Feature Layer dialog requires several parameters.

Step 1 – Select Topology

Choose the topology in which the new Feature Layer will be created. A single GIS project may contain multiple topologies stored within the same or different databases. This parameter determines which topology structure the new Feature Layer will belong to.

Step 2 – Select Parent Layer

Every Feature Layer must have a parent.

The parent may be:

  • Nodes Layer
  • Edge Layer
  • Face Layer
  • another Feature Layer

IMPORTANT: Feature Layers always inherit objects from their parent layer.

Step 3 – Specify Layer Name

A new logical layer name must be provided.

Example input: LEVEL_0

Resulting layer name: NEW_LEVEL_0

NOTE: Layer names must not contain the topology schema name. The schema prefix is automatically prepended to the physical layer name during creation.

Step 4 - Copying Attributes

Optionally, field definitions may be copied from the parent layer.

Base Feature Layers

NOTE: The Base Feature Layer model described in this section applies to the native SQLite topology implementation used in this tutorial.

The first Feature Layer level is called a Base Feature Layer.

A Base Feature Layer is defined as:

Examples:

Base Feature Layers always contain single-part geometries:

Parent Layer Geometry Type
NODE Point
EDGE Polyline
FACE Polygon

IMPORTANT: Base Feature Layers never contain MultiPoint, MultiPolyline, or MultiPolygon geometries.

Higher-Level Feature Layers

Once a Base Feature Layer exists, additional hierarchy levels can be created.

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

Parent Geometry Result Geometry
Point MultiPoint
Polyline MultiPolyline
Polygon MultiPolygon

NOTE: The examples shown in this chapter use SQLite topology, where the Base Feature Layer contains single-part geometries and higher hierarchy levels may contain multi-geometries.

Copying Attribute Definitions

When creating a new Feature Layer, attribute definitions may be copied from the parent Feature Layer.

The Create Feature Layer dialog allows users to select which attribute fields should be copied to the new layer. This makes it possible to reuse only those fields that are relevant for the new hierarchy level. This approach allows each hierarchy level to maintain its own attribute structure while preserving only the information required at that level.

Copying attribute definitions is available only when the parent is another Feature Layer. Primitive layers do not provide user-defined attribute structures for copying.

NOTE: Attribute definitions are copied only when the Feature Layer is created. Subsequent changes made to the parent layer structure are not propagated automatically to existing child layers.

Why Feature Layers Matter

Feature Layers add semantic meaning to topology primitives.

The same topology can therefore support multiple business-specific data models without duplicating geometry.


With the Feature Layer structure in place, the next chapter focuses on creating actual topology Features and populating the hierarchy with real objects derived from topology primitives.

« Previous | Next »

2026/09/24 17:12

Page Tools