[ gpsdrive ] [gpsdrive] gpsdrive & openstreetmap howto

Mark Komarinski mkomarinski at wayga.org
Fri Feb 1 06:53:25 AKST 2008


On 02/01/2008 04:56 AM, haylocki wrote:
> 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 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]
> -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>
It definitely helps me.  Now that the US TIGER data has been imported 
into OSM, I was able to download a pretty big section of my area and get 
it imported.  It looks great on gpsdrive. Thanks!

-Mark

PS: even working on my Ubuntu Gibbon laptop.


More information about the GPSdrive mailing list