ValidateTopology — Returns a set of validatetopology_returntype objects detailing issues with topology
setof validatetopology_returntype ValidateTopology(
varchar topology_schema_name)
;
Returns a set of validatetopology_returntype objects detailing issues with topology. Table below lists possible errors and what the id1 and id2 mean in each case
Error | id1 | id2 |
---|---|---|
edge crosses node | node_id | edge_id # NOTE: should this be swapped? |
invalid edge | edge_id | null |
edge not simple | edge_id | null |
edge crosses edge | edge_id | edge_id |
edge start node geometry mis-match | edge_id | node_id |
edge end node geometry mis-match | edge_id | node_id |
face without edges | face_id | null |
face has no rings | face_id | null |
face overlaps face | face_id | face_id |
face within face | inner face_id | outer face_id |
Availability: 1.0.0
Enhanced: 2.0.0 more efficient edge crossing detection and fixes for false positives that were existent in prior versions.