[ gpsdrive ] gpsdrive & openstreetmap howto
carlo mecozzi
meco271 at tiscali.it
Fri Feb 1 10:21:45 AKST 2008
>
> Hi,
>
>
> >/ by the way: is it possible to download somewhere openstreetmap file for
> />/ Italy alone? my old laptop won't swallow whole europe file, it blocks
> />/ after " processing nodes 18350 ". how big is the decompressed file?
> />/
> /
> It's now possible to download large areas (such as countries) from OSM
>
> You need to know the coordinates of the bounding box for the area you wish
> to download.
>
> the command is :
>
> wget http://www.informationfreeway.org/api/0.5/*[bbox=<left <http://www.informationfreeway.org/api/0.5/*%5Bbbox=%3Cleft> Lon>,<Bottom
> Lat>,<Right Lon>,<Top Lat>] -O my_country.osm
>
> As an example,this command will download a file called Philippines.osm,
> containing all the data in the Philippines, into the current directory.
>
> wget
> http://www.informationfreeway.org/api/0.5/*[bbox=116.9106,5.3102,127.9038,19.6132] <http://www.informationfreeway.org/api/0.5/*%5Bbbox=116.9106,5.3102,127.9038,19.6132%5D>
> -O Philippines.osm
>
> You will find the data is more up to date than the planet dump, as it's
> updated hourly (or sooner).
>
> The file is also sooooo... much smaller than the Planet dump. For instance
> the whole of the Philippines is currently only ~50 MB uncompressed.
>
> After downloading, I think you can install the data into postgresql using :
>
> /mapnik-osm-updater.sh --all-planet --no-mirror
> --planet-file="<path/to/planet/file/my_country.osm>"
>
> HTH
>
> Cheers, Ian
>
> P.S.
>
> Open for corrections, by those that know what they're doing ;-)
>
>
> no corrections, my celeron 1000 laptop swallowed italy.osm.bz2 in a few seconds!
>
thanks again to Joerg foe kind and encouraging words.
More information about the GPSdrive
mailing list