[OSM-talk] Getting boundaries from XAPI

Gary68 gary at gary68.de
Fri Dec 11 16:22:08 GMT 2009


http://wiki.openstreetmap.org/wiki/Boundaries.pl

maybe of help?

On Fri, 2009-12-11 at 11:02 -0500, Nakor wrote:
>   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.
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk






More information about the talk mailing list