]> granicus.if.org Git - postgis/commitdiff
Document TopoGeo_addPoint
authorSandro Santilli <strk@keybit.net>
Tue, 3 Jan 2012 10:52:30 +0000 (10:52 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 3 Jan 2012 10:52:30 +0000 (10:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8652 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_topology.xml

index 9f88d5b34b1e2c1d8244fcaf3ada233f47fb5933..3f61a755a418a43dadea693c9df883f72a6ba056 100644 (file)
@@ -1994,6 +1994,47 @@ faceid
                        </refsection>
                </refentry>
 
+               <refentry id="TopoGeo_AddPoint">
+                       <refnamediv>
+                               <refname>TopoGeo_AddPoint</refname>
+                       
+                               <refpurpose>
+Adds a point to an existing topology using a tolerance and possibly splitting an existing edge.
+                               </refpurpose>
+                       </refnamediv>
+               
+                       <refsynopsisdiv>
+                               <funcsynopsis>
+                                       <funcprototype>
+                                               <funcdef>integer <function>TopoGeo_AddNode</function></funcdef>
+                                               <paramdef><type>varchar </type> <parameter>toponame</parameter></paramdef>
+                                               <paramdef><type>geometry </type> <parameter>apoint</parameter></paramdef>
+                                               <paramdef choice="opt"><type>float8 </type> <parameter>tolerance</parameter></paramdef>
+                                       </funcprototype>
+                               </funcsynopsis>
+                       </refsynopsisdiv>
+               
+                       <refsection>
+                <title>Description</title>
+            
+                <para>
+Adds a point to an existing topology and return its identifier.
+The given point will snap to existing nodes or edges within given tolerance.
+An existing edge may be split by the snapped point.
+                </para>
+
+                <!-- use this format if new function -->
+                <para>Availability: 2.0.0</para>
+                       </refsection>
+               
+               
+                       <!-- Optionally add a "See Also" section -->
+                       <refsection>
+                               <title>See Also</title>
+                               <para><xref linkend="AddNode"/>, <xref linkend="CreateTopology"/></para>
+                       </refsection>
+               </refentry>
+
                <refentry id="TopologyPolygonize">
                        <refnamediv>
                                <refname>Polygonize</refname>