Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bbox filter on master relations #293

Closed
mmd-osm opened this issue Jul 9, 2016 · 1 comment
Closed

bbox filter on master relations #293

mmd-osm opened this issue Jul 9, 2016 · 1 comment
Labels

Comments

@mmd-osm
Copy link
Contributor

mmd-osm commented Jul 9, 2016

See this post:

  relation["type"="route_master"]["route_master"="bus"](51.3649215, 9.2642212, 51.7134161, 9.810791);
out meta;

does not return any result, although (some relation member of) master route https://www.openstreetmap.org/relation/1729861 is included in the bbox.

The wiki page only states: The bbox-query filter selects all elements within a certain bounding box. - without providing any more details on the expected behavior.

How is the bbox filter supposed to work with respect to such master relations?
Is this a documentation or implementation issue which needs to be addressed?

@drolbr
Copy link
Owner

drolbr commented Jul 27, 2016

It's on purpose that no relations on relations are found.

There are relations on relations which span to the hundreds of megabytes of data if these were resolved down to nodes. If the semantics of Overpass API required to find such relations then we would have to deal with them in almost each and every query for relations in a bounding box. That make things slow for everybody, those who use rel(bbox) directly and everybody else due to the increased load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants