[OSM-talk] Mapnik maxing CPU with Corine data set

Dermot McNally dermotm at gmail.com
Mon Jan 17 16:37:13 GMT 2011


Hi folks,

I need help with a Mapnik problem we're having in the context of a
Corine Import we're preparing in Ireland:
http://wiki.openstreetmap.org/wiki/Republic_of_Ireland_Corine_2006_Import

An outline of the problem is at the bottom of the page, but here are
the key details:

* We have http://maps.openstreetmap.ie/ serving a normal slippy map
with some laying clevers of our own to do with language switching and
a few other things. This has the usual mod_tile and it can render
normal map tiles on the fly as you would expect.

* We wanted to sanity check our import file by seeing it render, so we
rolled a new mapnik config and imported our import file into a new
corine DB (that was _very_ slow, more than 2 hours where the current
country extract takes 10 minutes)

* Trying to use generate_image.py pegs the CPU for 15 minutes or so,
then delivers a good image. This is so even for tiny bboxes.

* Switching the "broken" mapnik config to point to our normal
ireland.osm-populated database fixes the problem and images are
generated instantly.

Right now we don't know whether to suspect our data, our stylesheet
(the normal OSM one), our server capacity (decent, but nothing
special) or Mapnik.


Any tips?
Dermot

-- 
--------------------------------------
Igaühel on siin oma laul
ja ma oma ei leiagi üles



More information about the talk mailing list