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

PostGIS trac at osgeo.org
Mon Jul 4 15:35:28 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):

 querying the STRtree for nearest segment gets to the distance result in
 ~20ms.
 Looks promosing. If only the result was similar to the original one ...

 {{{
 LOG:  duration: 19.001 ms  statement: select st_summary(a), st_summary(b),
 st_distance(a,b) from slowdist;
             st_summary            |           st_summary            |
 st_distance
 ----------------------------------+---------------------------------+-----------------
  LineString[BS] with 43520 points | LineString[BS] with 3153 points |
 827058.14279572
 (1 row)
 }}}

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