[postgis-tickets] [PostGIS] #3587: lwgeom_mindistance2d slows down topology loading

PostGIS trac at osgeo.org
Wed Jul 6 00:56:39 PDT 2016


#3587: lwgeom_mindistance2d slows down topology loading
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.2.3
 Component:  topology  |    Version:  2.2.x
Resolution:            |   Keywords:  performance
-----------------------+---------------------------

Comment (by strk):

 Another great idea (for topology): DROP the distance computation.
 Given that distance is only used to reduce the number of ST_Snap
 operations, and that ST_Snap would be a no-op if no vertex is closer than
 the given tolerated distance... we might as well just avoid to perform the
 pre-flight check.

 The testsuite is fine with that, which is a good sign!

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