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

PostGIS trac at osgeo.org
Mon Jul 4 13:40:13 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):

 There's another tree implementation in lwgeom_geos_cluster.c, simply
 wrapping the GEOS STRTree class. In case we want to implement something
 like that internally. Or GEOS C-API does have a GEOSDistance function if
 we want to try that.

 About avoiding the sqrt, the geometries could be shifted to the origin to
 lower the numbers

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