[postgis-tickets] [PostGIS] #3174: unit test for lwgeom_mindistance2d_tolerance

PostGIS trac at osgeo.org
Mon Jul 13 14:47:57 PDT 2015


#3174: unit test for lwgeom_mindistance2d_tolerance
--------------------------+----------------------------
  Reporter:  strk         |      Owner:  nicklas
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS Future
 Component:  liblwgeom    |    Version:  trunk
Resolution:               |   Keywords:
--------------------------+----------------------------

Comment (by nicklas):

 I don't really get this request.

 lwgeom_mindistance2d_tolerance is just an internal function with a bad
 name.

 raising the tolerance above 0 will stop the calculations to save some cpu-
 cycles.

 But the logic of ST_DWithin is done on the outer function LWGEOM_dwithin.

 Testing if the function stops as expected I can understand, but the result
 will change with small changes in code without changing output.

 But where to document it? and for who?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3174#comment:1>
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