[ gpsdrive ] automatic download of OpenStreetmap *pixel maps*?
Joerg Ostertag (gpsdrive Munich/Germany)
gpsdrive at ostertag.name
Tue Jan 1 01:38:49 AKST 2008
On Dienstag 01 Januar 2008, Gernot Hillier wrote:
> Hi there again!
>
> I'd like to use gpsdrive for a simple use case on my OpenMoko mobile
> device: I'd like to run around and verify the OpenStreetmap data (and
> probably record tracks in the same time to improve them).
Well; not directyl. You have the script
scripts/mapnik/gpsdrive_mapnik_gentiles-in.py
If you install mapnik on your desktop, then import the current osm-mapnik data
with
mapnik-osm-updater.sh
After this you can create tiles which should be directyl usable with gpsdrive.
You then copy the .gpsdrive/ directory to your OpenMoko device and gpsdrive
should display the prerendered Tiles.
> To keep things simple, I'd like to avoid compiling in Mapnik support &
> friends, but simply download the ready Tiles at Home tiles into gpsdrive.
>
> Is there some script/built-in function already available which does this
> download automatically for me?
>
> If not, I'd like trying to contribute one - preferrably directly via the
> GUI in the same dialog which does Expedia (?) downloads (at least in
> 2.10pre4). Does this make sense for you?
Would be nice. You probably wand to expand gpsfetchmap.pl. But there is one
slight challenge.... the tiles comming from tiles at home or
tiles.openstreetmap.org are 256x256 pixel and you'll have to combine them to
get a 1280x1024 Pixel image. But there should be code inside gpsfetchmap to
do this. The stiching formerly was also done for google-maps. So you can
probably have a look in this old code. If you don't find it in the current
svn you might want to have a look into the source before 2.10pre4.
-
Joerg
More information about the GPSdrive
mailing list