[ gpsdrive ] automatic download of OpenStreetmap *pixel maps*?

Kim Hawtin kim.hawtin at adelaide.edu.au
Sun Jan 6 16:26:29 AKST 2008


Morning All,

Gernot Hillier wrote:
> Joerg Ostertag (gpsdrive Munich/Germany) schrieb:
>> On Dienstag 01 Januar 2008, Gernot Hillier wrote:
>>> Joerg Ostertag (gpsdrive Munich/Germany) schrieb:
>>>>> 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.
>>> No, it's much easier. T at H already does this for you:
>>> http://tah.openstreetmap.org/MapOf/?lat=48.5333&long=12.15&z=14&w=1280&h=10
>>> 24&format=png
>> OK then it should be a pice of cace to include it into gpsdrive and/or 
>> gpsfetchmap.
> 
> Yes, no real problem to solve after I found the zoom2scale info in
> scripts/mapnik :-)
> 
> Attached, please find a patch to gpsfetchmap.pl adding openstreetmap T at H
> download support. Please consider applying. And as always, any feedback
> greatly appreciated! :-)

I've been organising with some of the OSM folks to do a demo of OSM and related
tech at Linux.Conf.Au happening later this month in melbourne.

I was wondering if the OSM map download stuff is in a release version of gpsdrive?

Also if there is interest we can do a BoF or similar.

Please contact me if theres any other things you'd like demo'd or announced...

regards,

Kim
-- 
Community Wireless Miniconf Coordinator
  http://miniconf.mel8ourne.org/wiki/index.php?title=Community_Wireless
Linux.Conf.Au 2008
  http://linux.conf.au/


More information about the GPSdrive mailing list