[OSM-dev] osm2pgsql and mapnik

Jukka Rahkonen jukka.rahkonen at latuviitta.fi
Mon Oct 31 16:52:31 GMT 2011


Komяpa kirjoitti:
> Hi,
>
> 2011/10/31 BG <mrharmonie at gmx.de>:
>> Hej.
>> Im wondering if there is any solution to convert the mapnik xml to a
osm2pgsql style.
>> Im trying to split the tables for different zoom levels. So i need 2
tables
>> for roads, lines and so on. I do this to make the render-process faster (i
>> hope so) for wms-use.
>
> For faster rendering you'd better use postgresql indexes than create
some non-cacheable new tables.

For fast WMS rendering you should create genaralized tables to be used for
far-away zoom levels. Have a look at Imposm
http://imposm.org/docs/imposm/latest/ and FOSS4GIS rendering benchmark
http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/presentation/benchmarking2011.pdf

Consider also using MapProxy as a WMS accelerator.

-Jukka Rahkonen-







More information about the dev mailing list