13 Building and using topologies

 

This chapter covers

  • What a topology is
  • Creating a topology
  • Building topogeometries
  • Loading and editing topogeometries
  • Simplification and validation

Topological representation recognizes that, in reality, geometric features rarely exist independently of each other. When you gaze down on large metropolises from a plane, you see a maze of streets outlining blocks, interlocked. With a simple geometry model, you could use linestrings to represent the streets and polygons to represent the blocks. But once you lay out the streets, you already know where your blocks will be. Having to create polygons for the blocks is an exercise in redundancy. Congratulations, you’ve discovered topology.

In this chapter, you’ll learn what a topology is, how to build a topology from scratch, and how to use commonly available geometry data. You’ll also learn how to create what are called topogeometries (topogeoms) in a topology. You’ll learn how to detect problems in loaded data, how to fix problems in spatial data, and how to create simplified geometries using a topology model that maintains the connectedness of the constituent objects.

13.1 What topology is

13.2 Using topologies

13.2.1 Installing the topology extension

13.2.2 Creating a topology

13.2.3 The topogeometry type

13.2.4 Recap of using topologies

13.3 Topology of Victoria, BC

13.3.1 Creating the Victoria topology

13.3.2 Adding primitives to a topology

13.3.3 Creating topogeometries

13.4 Fixing topogeometry issues by editing topology primitives

13.4.1 Removing faces by removing edges

13.4.2 Checking for shared faces

13.4.3 Editing topogeometries