Ticket #1810 (closed enhancement: fixed)

Opened 12 months ago

Last modified 6 months ago

ST_MakeValid: slow with thousand elements multipolygons [Fixed by GEOS-3.3.4]

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version: 2.0.x
Keywords: Cc:

Description (last modified by strk) (diff)

Following #1806 there's another case of big slowdown being multipolygons containing thousands of elements.

Change History

Changed 12 months ago by strk

This time the slowest operation seems to be GEOSPolygonize

Changed 12 months ago by strk

  • milestone changed from PostGIS 2.0.1 to PostGIS GEOS

Fixed GEOSPolygonize enhancement ticket here:  http://trac.osgeo.org/geos/ticket/545

Changed 12 months ago by strk

  • description modified (diff)
  • summary changed from ST_MakeValid: slow with thousand elements multipolygons to ST_MakeValid: slow with thousand elements multipolygons [Fixed by GEOS-3.3.4]

With GEOS revisions referenced in  http://trac.osgeo.org/geos/ticket/545#comment:3 this MakeValid? call takes 30 seconds, with new slowest component being GEOSDifference (same as with #1806).

Before that commit, MakeValid? took 56 seconds.

Changed 12 months ago by strk

  • description modified (diff)

Let's leave it open until GEOS-3.3.4 is out

Changed 6 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Latest GEOS release is 3.3.5 ...

Note: See TracTickets for help on using tickets.