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

Add a new boundary option to search by area (way or relation) id #315

Open
Robot8A opened this issue Oct 24, 2023 · 1 comment
Open

Add a new boundary option to search by area (way or relation) id #315

Robot8A opened this issue Oct 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Robot8A
Copy link

Robot8A commented Oct 24, 2023

Use Case Description

E.g. Looking for elements inside a specific administrative boundary, the relation id would be given

Request Description

Add a new boundary option, where a search by area (either way or relation id) is possible. The user would give the area ids, and the API would return the elements inside it.

Additional Information

@Robot8A Robot8A added the enhancement New feature or request label Oct 24, 2023
@Hagellach37
Copy link

Hey @Robot8A ,
thanks for reaching out here and flagging this potential enhancement. We will discuss with our team how feasible this change is within the current ohsome API.

You might already know the ohsome Dashboard which let's you query OSM boundaries up to admin level 7 and 8.

You will note that this URL already contains the OSM-ID: 285864

https://dashboard.ohsome.org/#backend=ohsomeApi&groupBy=none&time=2007-10-08T00%3A00%3A00Z%2F2023-10-22T20%3A00Z%2FP1M&key=natural&value=tree&types=node&measure=count&adminids=-285864

--> https://www.openstreetmap.org/relation/285864

Let us know if this is already helpful for you.

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

No branches or pull requests

2 participants