plepe / plepe/OpenStreetBrowser
Filter map features inside region / near other map feature
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 113
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Juergeen wrote on 2019-02-17 in the OSM Wiki:
Is it possible to filter the nodes found by their distance to some specific way, for instance to show alle the hotels next to or near a road ?
Not fltering on a low zoom level that shows a long road overloads my browser, and, probably, also the server.
The distance should be defined as the distance from each node to the closest point of the way. Because this is not easy to calculate, we might relax this definition to the distance to the closest endpoint of any path that is part of the way: This seems easier to calculate and doesn't make a difference on a low zoom level.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue links to an OSM Wiki discussion about filtering nodes by distance to a way; start there and review the existing map and category filtering entry points. Done means users can filter nearby map features within a defined distance without low-zoom road queries overloading the browser or server, using distance semantics agreed for the feature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100