-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Use Case Description
We extract contributions to elements where we know the ID and the geometry at a given point in time. We don't know the area in which contributions to that element occurred.
We have two approaches:
- we extract contributions with a global bbox -> all contributions are included (even if the element was moved over the globe and it is arguably not the same element any more, even if it is technically the same object, but that's a different discussion)
- we extract contributions within a buffer -> potentially not all contributions are returned and the buffer size is hard to choose. But the query is faster because the ID filter is faster.
Currently we do no. 1 but if the query times out, we will subdivide the bbox into smaller squares. We do not reduce the number of requested IDs (<1000 currently) because the bbox limit will do that automatically (if the elements never lay within the given bbox). Yet we will request many areas that are not related to our elements.
Request Description
If we had the possibility to extract all contributions by ID independent of the bbox (maybe only providing a hint: the element-bbox intersects with region XY), which I think is possible in OSHDB-API, we could speed up our workflow.
This would also enable the query: "Return all contributions to the filter-passing elements in this area." (currently it is "Return all contributions that took place in this area to the filter-passing elements in this area.").
Related: #250