]> granicus.if.org Git - postgis/commitdiff
Incorrect parameter name for CreateTopology
authorRegina Obe <lr@pcorp.us>
Sat, 26 Nov 2016 14:59:52 +0000 (14:59 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 26 Nov 2016 14:59:52 +0000 (14:59 +0000)
references #3509 for 2.4.0 (trunk)

git-svn-id: http://svn.osgeo.org/postgis/trunk@15247 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_topology.xml

index 1772ef910b0e6d2fcda2fa6be09429b37adef052..52fc73fc5d876c0053ebf4cdbc846360da5c361d 100644 (file)
@@ -668,14 +668,14 @@ face without edges |   0 |
                                                <funcdef>integer <function>CreateTopology</function></funcdef>
                                                <paramdef><type>varchar </type> <parameter>topology_schema_name</parameter></paramdef>
                                                <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
-                                               <paramdef><type>double precision </type> <parameter>tolerance</parameter></paramdef>
+                                               <paramdef><type>double precision </type> <parameter>prec</parameter></paramdef>
                                        </funcprototype>
 
                                        <funcprototype>
                                                <funcdef>integer <function>CreateTopology</function></funcdef>
                                                <paramdef><type>varchar </type> <parameter>topology_schema_name</parameter></paramdef>
                                                <paramdef><type>integer </type> <parameter>srid</parameter></paramdef>
-                                               <paramdef><type>double precision </type> <parameter>tolerance</parameter></paramdef>
+                                               <paramdef><type>double precision </type> <parameter>prec</parameter></paramdef>
                                                <paramdef><type>boolean </type> <parameter>hasz</parameter></paramdef>
                                        </funcprototype>
                                </funcsynopsis>
@@ -686,7 +686,7 @@ face without edges |   0 |
 
                 <para>Creates a new schema with name <varname>topology_name</varname> consisting of tables (<varname>edge_data</varname>,<varname>face</varname>,<varname>node</varname>, <varname>relation</varname>
                     and registers this new topology in the topology.topology table. It returns the id of the topology in the topology table. The srid is the spatial reference identified as
-                defined in spatial_ref_sys table for that topology.  Topologies must be uniquely named.  The tolerance is measured in the units of the spatial reference system.  If the tolerance is not specified defaults to 0.</para>
+                defined in spatial_ref_sys table for that topology.  Topologies must be uniquely named.  The tolerance is measured in the units of the spatial reference system.  If the tolerance (<varname>prec</varname>) is not specified defaults to 0.</para>
 
                 <para>This is similar to the SQL/MM <xref linkend="ST_InitTopoGeo" /> but a bit more functional.  <varname>hasz</varname> defaults to false if not specified.</para>