From: Sandro Santilli Date: Tue, 4 Feb 2014 08:34:54 +0000 (+0000) Subject: Fix ST_ModEdgeSplit documentation (#2633) X-Git-Tag: 2.2.0rc1~1261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab7b85c3b868b0dfc3948f96dc7df7bedbae6ab6;p=postgis Fix ST_ModEdgeSplit documentation (#2633) git-svn-id: http://svn.osgeo.org/postgis/trunk@12215 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index 509302f89..fe05598c0 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -1308,7 +1308,7 @@ an error is thrown. - text ST_ModEdgeSplit + integer ST_ModEdgeSplit varchar atopology integer anedge geometry apoint @@ -1323,6 +1323,7 @@ an error is thrown. Split an edge by creating a new node along an existing edge, modifying the original edge and adding a new edge. Updates all existing joined edges and relationships accordingly. +Returns the identifier of the newly added node. @@ -1343,8 +1344,8 @@ Updates all existing joined edges and relationships accordingly. -- Split the edge -- -SELECT topology.ST_ModEdgeSplit('ma_topo', 3, ST_SetSRID(ST_Point(227594,893910),26986) ) As result; - result +SELECT topology.ST_ModEdgeSplit('ma_topo', 3, ST_SetSRID(ST_Point(227594,893910),26986) ) As node_id; + node_id ------------------------- 7