[OSM-talk] rendering with mapnik, what do I need?

Martijn van Oosterhout kleptog at gmail.com
Sat Mar 1 16:03:55 GMT 2008


On Fri, Feb 29, 2008 at 11:21 PM, Gervase Markham <gerv-gmane at gerv.net> wrote:
>  Mapnik itself, judging by http://www.mapnik.org/, seems to regard the
>  whole PosgreSQL thing as optional. Is there any way of getting OSM data
>  into a format Mapnik will render without having to set up a database?

Well, mapnik treats the postgis input more like a glorified shapefile.
You could in theory dump the OSM data into shapefiles and render from
there. Fact is though, running it from the database is a lot faster
because Postgres is very smart about optimising queries.

The coastline checker produces output in shapefile format which you
can use in mapnik directly, however dumping it into a database
improves the performance.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list