[OSM-talk] OSMXAPI question: is it me, or...
Lambertus
osm at na1400.info
Tue Sep 9 20:24:43 BST 2008
Either I don't understand how querying OSMXAPI works or I stumbled upon
a bug. Perhaps someone can have a look at this:
I would like to download all regional cycle routes within a certain
small area in The Netherlands. As all these routes are tagged using
relations (checked this) I try to query these routes as relations (which
should also return the ways and nodes according to the wiki).
On http://www.informationfreeway.org:
/api/0.5/relation[route=bicycle][network=rcn][bbox=5.5,52.0,6.3,52.3]
The result is an ~10 MB osm file that contains relations and bits of
ways and nodes ranging from the UK to Belgium, Netherlands and Germany.
Some ways appear to be complete, others are partly downloaded because
there are nodes but no ways.
If I was to think that the bbox parameter is ignored (because of the
data from far outside the bbox) then the output from OSMXAPI again seems
incorrect because there are large areas of ways and nodes missing that
one would expect if all rcn cycle routes are downloaded.
So it's clear; I don't understand how this result is caused or what I
should query to get the result I'm looking for....
More information about the talk
mailing list