[OSM-talk] How to fetch the map(data) from OpenStreetMap
Graham Jones
grahamjones139 at gmail.com
Sat Oct 8 12:14:50 BST 2011
Hi,
>
>
> I want to fetch a particular
area from Open Street Map by giving a Longitudinal and altitude
> values.
>
If it is a relatively small area, I would use the XAPI service [
http://wiki.openstreetmap.org/wiki/Xapi] (I would use the java based one
(jxapi) as that is more reliable) - on linux I use:
wget --timeout=600
http://jxapi.openstreetmap.org/xapi/api/0.6/map?bbox=-1.311,54.6079,-1.1110,54.7294-O
hartlepool.osm
where the bbox parameters are the longtitude and latitude of the bottom left
and top right of the bounding box defining your area.
Hope that helps.
Graham.
--
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20111008/f321a64c/attachment.html>
More information about the talk
mailing list