[OSM-newbies] downloading map data locally with xapi 0.6
Akkana Peck
akkana at shallowsky.com
Wed Apr 22 19:54:54 BST 2009
I'm finally getting around to learning how to download a local copy
of OSM data and make maps offline ... and apparently I picked a
really bad week to do that, because it turns out a API switch
to 0.6 happened yesterday.
One of the first steps in
http://wiki.openstreetmap.org/wiki/Mkgmap
is to use the XAPI to download data:
http://wiki.openstreetmap.org/wiki/Osmxapi
But the URLs given on those pages give Internal Server Errors.
I was trying URLs like this:
http://www.informationfreeway.org/api/0.5/bbox=-116.73,34.3,-113.69,36.88
I tried substituting "0.6" for "0.5" in the osmxapi URLs but
those just gave 404, "Not found".
I can't find anything on what the new URL should look like.
I thought maybe something ike this would work:
http://www.informationfreeway.org/api/0.6/map?bbox=-116.73,34.3,-113.69,36.88
might work (I changed 0.5 to 0.6 and added the "map?" part because
of what I saw in the 0.6 protocol page,
http://wiki.openstreetmap.org/wiki/OSM_Protocol_Version_0.6#Retrieving_map_data:_GET_.2Fapi.2F0.6.2Fmap
but I still get a 404.
Help! How do I use the OSM XAPI to get map data with a bounding box
with 0.6? I'd be happy to update the two wiki pages if I can find
something that works.
...Akkana
More information about the newbies
mailing list