[OSM-talk] serving tiles with mapnik and generate_tiles.py

Kenneth Gonsalves lawgon at au-kbc.org
Sat Mar 21 05:46:10 GMT 2009


hi

The wiki page for this says:

Download the planet file from planet.openstreetmap.org 
 Import into a PostGIS database using osm2pgsql 
Set up mapnik and test using osm.xml and the generate_image.py 
 When everything works, use generate_tiles.py to create 1000s of tiles in a 
special hierarchy of folders 
 Copy/move tiles into your webserver's document root. 
 Change the OpenLayers instance to use your own tileserver instead of the main 
one

can anyone give me an example of how to change the OpenLayers instance to 
point to the tiles generated by generate_tiles.py?
-- 
regards
Kenneth Gonsalves
Associate
NRC-FOSS
http://nrcfosshelpline.in/web/




More information about the talk mailing list