My (long-term) goal is to generate customized tiles and maps from OSM data. The main purpose of these maps will be the offline-usage on my smartphone so I have my customized maps always available.
With tiles I can feed OSM-Tracker which uses tiles generated by mapnik directly. Later I plan to use Navicomputer, here I need to contact a tile server to download the tiles into a database-fileformat for this tool.
So Mapnik is my only choice to generate tiles.
Currently I am able to generate tiles using mapnik on linux and I have made first modifications of the osm.xml. To test my settings with different zoom levels and areas I need a tool to browse my tiles similar to openstreetmap.org.
After searching the wiki and the web I found some tools like “renderd”, “OpenLayers” or “Slippy Map” which seem to have similar roles when it is about to access maps with a webbrowser. But I am not really sure about the right one.
My first configuration was:
- Ubuntu Linux 9.10 (on a virtual box so I can play around and undo some actions)
- PostgreSQL 8.4 with PostGIS extension
- OSM2PSQL (latest from svn)
- Mapnik 0.7.1
- World boundaries and .osm data for my region
With this configuration I was able to create map images and tiles.
In the OSM forum I found the following instructions:
So I added some more tools:
- Java (the package “sun-java6-jdk”)
- Osmosis latest (I think it does a similar job as mapnik so I believe I don’t need it)
- Apache (apache2 apache2-mpm-prefork apache2-prefork-dev apache2-utils apache2.2-common)
Currently I can open http://localhost/ and I see the default web page. So what I need now is something that takes my generated tiles and puts them together into a browsable map.