TangoGPS is nice, but it wants to download tiles. However, I already have a working mapnik setup, so why bother the OpenStreetMap servers with tile requests?
- Set up a mapnik environment like I explained with
gpsdrive, but use the
-m
switch to osb2pgsql. svn co http://svn.openstreetmap.org/applications/rendering/mapnik/
- Edit set-mapnik-env to configure it. Make sure that
MAPNIK_TILE_DIR
points toMaps/OSM
as used by TangoGPS. ./set-mapnik-env ./customize-mapnik-map > osm.xml
- Edit
generate_tiles.py
to customise the area that you want to generate. Make sure that when settingbbox
the first latitude is smaller than the second latitude, and the same for longitude. - Run
./set-mapnik-env ./generate_tiles.py
and watch it paint your tiles. Note that if a tile has already been downloaded, it will not download it again.