Is there any way we can filter by geoJSON type? #3911
Answered
by
mtmail
benedictpmateo
asked this question in
Q&A
-
|
I was wondering if there's a feature or planning to add where we can filter by specific geoJSON type like only show Polygons and MultiPolygons on search |
Beta Was this translation helpful? Give feedback.
Answered by
mtmail
Dec 16, 2025
Replies: 1 comment 3 replies
-
|
What is your use-case? Can you give an example? (address or coordinates) Usually when people want only boundaries they set the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no server-side feature. Easiest option is using the
zoomparameter.If you run your own installation you can change the API output https://nominatim.org/release-docs/latest/customize/Result-Formatting/
Overpass API can also return nearby relations, for example https://overpass-turbo.eu/s/2hnT The API can't output geojson directly, you'd receive *.osm format and then would need to convert it, for example with https://www.npmjs.com/package/osmtogeojson