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

PostGIS trac at osgeo.org
Mon Jul 4 17:52:57 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):

 Daniel: forget it, it was an error in my code, now works correctly, ad it
 is still 15 times faster than before:
 {{{
 LOG:  duration: 954.569 ms  statement: select
 ST_AsText(st_shortestline(a,b)) from slowdist;
                               st_astext
 ---------------------------------------------------------------------
  LINESTRING(5161330.6 -4881460.77503163,5046321.13099501 -4653960.8)
 (1 row)
 }}}

 Not as good as ST_Intersection, but still better than what we have now.
 I guess some experimenting could be done with different nodes capacity (10
 sounds a bit low)

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