[postgis-tickets] [PostGIS] #3509: Incorrect parameter name for CreateTopology

PostGIS trac at osgeo.org
Mon Mar 21 07:40:24 PDT 2016


#3509: Incorrect parameter name for CreateTopology
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.2.2
Component:  postgis  |    Version:  2.2.x
 Keywords:           |
---------------------+---------------------------
 I tried to create a topology with keyword arguments, following the
 parameter names in the docs:

 {{{
 postgres=# select topology.CreateTopology('tiger_mcds', srid := 4326,
 tolerance := 1e-6, hasz := false);
 ERROR:  function topology.createtopology(unknown, srid => integer,
 tolerance => numeric, hasz => boolean) does not exist
 }}}

 The parameter referred to in the docs as "tolerance" is known as "prec" in
 the SQL function.  I'm not sure what the best fix is -- redefine the
 function to match the docs (I think "tolerance" is a better name) or
 change the docs to match the existing function?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3509>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list