Skip to content

Add possibility to extract contributions independent of given bbox #256

@SlowMo24

Description

@SlowMo24

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:

  1. 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)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    brainstormingIdea for a potential new feature or adaption that still needs further discussioncomments welcomeIndicates that the creator of this issue/PR is open for early review commentsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions