Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With this change, the following roads will be ignored when loading data for the editor:
service=emergency_access
service=parking_aisle
service=driveway
access=private
At least for Berlin, there should never be parking data needed for those roads, since they are implicitly no parking.
Is this the same where you are mapping? If not, I would change this PR to move those configuration in a local settings file per country.
Update: Converted to draft
I am not sure anymore this change actually does what I want it to do. I would still love to year your feedback on the general idea (and maybe config), but will update here once I know that this is working.
Update 2: The codes does what I want it to do now.
The question is, though, if this is nice enough to be used.
A new feature in this branch is c35e826 => What would be a clean way to re-render the dropdown? Or how could this code be refactored to fit into the style of the app? – Or should I remove it again?
3e273e6 filters the roads described above. => Is this approach OK?
Also, I would love to learn how the data fetching actually works with the osm.org API. Where does the script specify the condition of which data is included? (Like the overpass query did.)