From: Regina Obe Date: Sun, 25 Jan 2015 07:35:56 +0000 (+0000) Subject: #3021 table to document the different error return types (was debating if this belong... X-Git-Tag: 2.2.0rc1~692 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bc4306cbf51cb20c68c5b059fae891d448c76ca;p=postgis #3021 table to document the different error return types (was debating if this belongs in validatetopology_returntype, but guess better on VAlidateTopology page (and especially if the return type is reused by other functions) git-svn-id: http://svn.osgeo.org/postgis/trunk@13201 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index df3e5eea6..e7cd62389 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -110,6 +110,7 @@ id2 is an integer: For errors that involve 2 objects denotes the secondary edge / or node + @@ -482,8 +483,65 @@ SELECT topology.AddTopoGeometryColumn('ri_topo', 'ri', 'roads', 'topo', 'LINE'); Description - Returns a set of objects detailing issues with topology. Refer to - for listing of possible errors. + Returns a set of objects detailing issues with topology. List of possible errors and what the returned ids represent are displayed below: + + + + Errorid1id2 + + + 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.?