May 2017
Beginner to intermediate
328 pages
7h 17m
English
After creating and populating a topology, the information is stored in multiple database tables. Luckily, PostGIS has a function for getting synthetic information about a given topology and its components: it's called topology.TopologySummary. It accepts one argument, the name of the topology in question:
SELECT topology.TopologySummary('my_topology'); topologysummary --------------------------------------------------------------- Topology my_topology (id 2, SRID 4326, precision 0.00028) 4567 nodes, 4765 edges, 4257 faces, 255 topogeoms in 1 layers Layer 1, type Polygonal (3), 255 topogeoms Deploy: public.countries.topogeom (1 row)
In return, the function will print out the topology metadata (ID, SRID, ...
Read now
Unlock full access