[OSM-talk] planet.osm / Tile Downloader
Joerg Ostertag
openstreetmap at ostertag.name
Wed May 31 13:13:10 BST 2006
...
> That's a pretty cool idea, and one I was actually talking about last
> night. How do you get the 5degree by 5 degree sections? Maybe I've
> simply been unlucky, insofar as I've not been able to actually get areas
> this large via the API -- even downloading a very smal lsection of inner
> london has taken me a really long time in some cases. (Long enough that
> Firefox times out -- but this may be a configurable HTTP client
> setting?)
loop over lat [-90,90] step 5
loop over lon [-180..180] step 5
max_retries=9;
while max_retries-- && error(local_file)
curl url(lat,lon) -> localfile
see GPSDrive Package:
Commandline:
geoinfo.pl --osm=download:europe
Source is at:
http://www.ostertag.name/gpsdrive/tar/gpsdrive-2.10pre3-work.tar.gz
(Currently building/uploading the newest takes about 20 minutes)
File:
scripts/Geo/Gpsdrive/OSM.pm
-
Joerg
More information about the talk
mailing list