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
-mswitch to osb2pgsql. svn co http://svn.openstreetmap.org/applications/rendering/mapnik/- Edit set-mapnik-env to configure it. Make sure that
MAPNIK_TILE_DIRpoints toMaps/OSMas used by TangoGPS. ./set-mapnik-env ./customize-mapnik-map > osm.xml- Edit
generate_tiles.pyto customise the area that you want to generate. Make sure that when settingbboxthe first latitude is smaller than the second latitude, and the same for longitude. - Run
./set-mapnik-env ./generate_tiles.pyand watch it paint your tiles. Note that if a tile has already been downloaded, it will not download it again.