From: Sandro Santilli Date: Mon, 23 Feb 2015 09:40:14 +0000 (+0000) Subject: Improve documentation for GetRingEdges (#3046) X-Git-Tag: 2.2.0rc1~646 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bba7d111e9175a0245bacfe75bb1038e90158001;p=postgis Improve documentation for GetRingEdges (#3046) git-svn-id: http://svn.osgeo.org/postgis/trunk@13263 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index 96f098ed9..945ab97b0 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -2145,7 +2145,8 @@ SELECT ST_AsText(topology.ST_GetFaceGeometry('ma_topo', 1)) As facegeomwkt; GetRingEdges -Returns an ordered set of edges forming a ring with the given edge . +Returns the ordered set of signed edge identifiers met by walking on an +a given edge side. @@ -2164,12 +2165,18 @@ Returns an ordered set of edges forming a ring with the given edge . Description -Returns an ordered set of edges forming a ring with the given edge. +Returns the ordered set of signed edge identifiers met by walking on an +a given edge side. Each output consists of a sequence and a signed edge id. Sequence numbers start with value 1. -A negative edge identifier means that the given edge is taken backward. -You can pass a negative edge id to start walking backward. - + + + +If you pass a positive edge id, the walk starts on the left side +of the corresponding edge and follows the edge direction. +If you pass a negative edge id, the walk starts on the right side +of it and goes backward. + If max_edges is not null no more than those records @@ -2177,9 +2184,12 @@ are returned by that function. This is meant to be a safety parameter when dealing with possibly invalid topologies. + +This function uses edge ring linking metadata. + - Availability: 2.0 + Availability: 2.0.0