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

PostGIS trac at osgeo.org
Thu Jun 23 10:22:37 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):

 In my case I'm only calling lwgeom_mindistance2d against linestring
 pairs with intersecting bounding boxes. So you're saying I do am
 seeing the brute force in action ? No other overhead other than
 a re-check for bounding box overlap ?

 Paul: is the rtree cache used for ST_Distance(geometry, geometry) ?
 Any plan to move the rtree interface down to liblwgeom for use from
 the topology code ? (it is common to test the same long line against
 hundreds of other lines, so a local temporary cache could be very
 useful)

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