[Talk-GB] Downloading OSM data for certain area using Geofabrik

Derick Rethans osm at derickrethans.nl
Thu Oct 18 22:32:52 BST 2012


On Thu, 18 Oct 2012, Dave F. wrote:

> On 18/10/2012 21:24, SomeoneElse wrote:
> > 
> > If you want a "one stop shop" I'd zoom in using: 
> > http://garmin.openstreetmap.nl/ and select the tiles that you want.
> > 
> > If you're happy to create your own using "mkgmap", england.osm.pbf 
> > <http://download.geofabrik.de/openstreetmap/europe/great_britain/england.osm.pbf> 
> > is only 374Mb here: 
> > http://download.geofabrik.de/openstreetmap/europe/great_britain/
> > 
> > The routable gmapsupp.img that I create for Great Britain using 
> > mkgmap is only 443Mb, so England should fit on your SD card.
> 
> Thanks for you reply. I'm looking to download my local area on a 
> weekly or even more frequent cycle so I don't really want to download 
> the whole of GB every time. And as I want to do it regularly I want to 
> set up windows batch file to automate the process so your first option 
> won't work as the tiles size & location appear vary over time (not 
> sure why).
> 
> I've been trying to use Wget to download the raw data myself but I 
> can't get this to work:
> 
> wget -O My.osm
> "http://api.openstreetmap.org/api/0.6/map?bbox=-2.34,51.37,-2.37,51.38"
> 
> It appears not to like the negative values. Any solutions?

You need to swap the -2.34 and -2.37:

	wget -O My.osm "http://api.openstreetmap.org/api/0.6/map?bbox=-2.37,51.37,-2.34,51.38"

And that one works for me.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine



More information about the Talk-GB mailing list