-
Notifications
You must be signed in to change notification settings - Fork 91
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
Augmented-difference empty results #734
Comments
This is a tricky question. As of today, it is intended behaviour. However, the augmented diff feature is barely used. So if we can hammer out useful semantics that are backwards compatible or almost backwards compatible then I'm willing to change it. What currently happens:
What happens in other adiff cases:
Note that line 2 does not know for what kind of object has been asked for, and line 1 does not know that it runs in an |
From my perspective, returning empty results for visible="false" object is incorrect. This is intuitive from human perspective, but not from scripting/data perspective. There is very little difference between visible="true" and visible="false" elements, the only being whether they're shown to the user or not. Given my very limited understanding of Overpass, I would always return all elements (ignoring the visible flag), and perform visibility filtering as an optional final stage. This would make Overpass behavior predictable and customizable. Edit: To clarify one detail, visible="false" nodes should not be queryable by bbox, given that they have no geographic location. However, they should be when requested directly by id (because they do exist in the data). Edit2: And here's why this behavior seems like a bug: if we use adiff to compare between V1 and V2 where nothing changes (tags, location, members) except the version number, we receive results, despite there being virtually no difference. Now that we repeat this query for versions that are visible="false", we receive no results. The current behavior is not consistent. |
Affected node: https://www.openstreetmap.org/node/3809873262/history
When retrieving adiff between v3 and v5 (both are deleted), the response is empty.
Example query: https://overpass-turbo.eu/s/1NvB
I expected the response to be:
Is that intended behavior or a bug?
The text was updated successfully, but these errors were encountered: