[OSM-talk] Getting boundaries from XAPI

Nakor nakor.wp at gmail.com
Fri Dec 11 16:02:07 GMT 2009


  Hello,

I was trying to get boundaries (i.e. nodes, ways and relations making the
county and cities limits) for my county from XAPI but cannot get exactly
what I want.

If I try /api/0.6/way[bbox=-83.702,42.413,-83.069,42.905][boundary=*], I get
every node and way fine, but the relations just come up empty. Also loadin
this file in JOSM and updating the data does not get the members in the
relations.
If I try /api/0.6/relation[bbox=-83.702,42.413,-83.069,42.905][boundary=*] I
get a huge file with data completely outside the zone I requested (like
nodes in Europe!)

Any help on how to get the data I want would be appreciated.

  Thanks,

N.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091211/ea8f76cf/attachment.html>


More information about the talk mailing list