-
Notifications
You must be signed in to change notification settings - Fork 117
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 check if the surface does not match the tracktype from highway=track #1468
Comments
They're already imported from JOSMs combinations.mapcss, although JOSM could add this one as well to be complete with your list: |
Exactly! Thank you for the hint, found it with your help in item=9001&class=9001002 |
That's what I meant with the suggestion that JOSM (and, via import of their rules, Osmose) could add this rule: |
Thank you so much @Famlam! I've created this ticket inspired by your input: https://josm.openstreetmap.de/ticket/22102 |
I think Frodrigo would've to synchronize it afterwards |
JOSM validations checking tags are from time to time imported to Osmose. |
No, manual. Ping here when is done. |
Ping ;) it was merged in JOSM |
Code update done. Will be shipped on next deploy. |
I think this issue can be closed as fixed? |
Yes deployed. |
Driven by this discussion from StreetComplete, I would like to introduce my idea to the Osmose Analyzer.
Short: I noticed that quite often a
surface=*
is mapped to ahighway=track
which does not match the existingtracktype=*
(or the other way around). In these cases Osmose could give a information / Error. The goal should be that both entries correspond to reality and match each other.For example:
surface=asphalt
andtracktype=grade4
surface=gravel
andtracktype=grade1
tracktype=grade1
andsurface=gravel
Here is a rough list of cases where this error should be triggered:
highway = track AND surface = unpaved|gravel|fine_gravel|compacted|pebblestone|dirt|earth|grass|grass_paver|mud|sand|woodchips|snow|ice|salt|rock|ground AND tracktype=grade1
highway = track AND surface = paved|asphalt|asphalt:lanes|chipseal|concrete|concrete:lanes|concrete:plates|paving_stones|sett|unhewn_cobblestone|cobblestone|cobblestone:flattened|metal|wood|stepping_stones AND tracktype = grade2|grade3|grade4|grade5
The text was updated successfully, but these errors were encountered: