[mapserver-dev] Shapefile goes from 1 sec to 90+ sec just adding a labels!

Paul Ramsey pramsey at cleverelephant.ca
Mon Jun 15 16:06:09 EDT 2009


Shark tells me that 83% of cycles are spend in msPointInPolygon.
PostGIS tells me that these are some pretty damn big polygons:

pramsey=# select npoints(the_geom) from world order by npoints desc;

 npoints
---------
  586416
  265758
  262693
  201410
  165279
  164432
  135854
  117943
   81531
   70580
   66749
   62417
   53843
   53641
   42864
   41904

Match made in hell.

P

On Mon, Jun 15, 2009 at 12:01 PM, Stephen
Woodbridge<woodbri at swoodbridge.com> wrote:
> http://trac.osgeo.org/mapserver/ticket/3053
>
> Steve Lime wrote:
>>
>> Did this test case materialize anywhere?
>>
>> Steve
>>
>>>>> On 6/10/2009 at 12


More information about the mapserver-dev mailing list