From: Sandro Santilli Date: Sat, 31 Dec 2011 09:47:34 +0000 (+0000) Subject: Document new optional arguments to AddNode X-Git-Tag: 2.0.0alpha1~247 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86b5addb8cff7f3ca28886785379787b8a262c7e;p=postgis Document new optional arguments to AddNode git-svn-id: http://svn.osgeo.org/postgis/trunk@8628 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_topology.xml b/doc/extras_topology.xml index ffd851178..9f88d5b34 100644 --- a/doc/extras_topology.xml +++ b/doc/extras_topology.xml @@ -2036,9 +2036,11 @@ faceid - integer AddNode - varchar toponame - geometry apoint + integer AddNode + varchar toponame + geometry apoint + boolean allowEdgeSplitting=false + boolean computeContainingFace=false @@ -2046,8 +2048,24 @@ faceid Description - Adds a point node to the node table in the specified topology schema. The function automatically adds start and end points of an edge when called so not necessary to explicitly add nodes of an edge. - When adding a new node it checks for the existence of any edge crossing the given point, raising an exception if found. + +Adds a point node to the node table in the specified topology schema. +The function automatically adds start and end +points of an edge when called so not necessary to explicitly add nodes +of an edge. + + + +If any edge crossing the node is found either an exception is raised or +the edge is splitted, depending on the allowEdgeSplitting +parameter value. + + + +If computeContainingFace is true a newly added node would +get the correct containing face computed. + + If the apoint geometry already exists as a node, the node is not added but the existing nodeid is returned.