Opened 11 years ago
Closed 11 years ago
#10896 closed defect (fixed)
Validator rule: change needed for junction=yes
| Reported by: | sommerluk | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.12 |
| Component: | Core validator | Version: | |
| Keywords: | Cc: |
Description
If you apply junction=yes on an OSM way without a “highway” key, the validator (before uploading to OSM) throws an error message: “junction without highway”. While this is fine for the “junction” key in general (junction=roundabout and so on), for the specific case of junction=yes this should not be checked (or, even better, do the opposite: throw an error if junction=yes and a “highway” key are on the same element).
Attachments (1)
Change History (10)
comment:1 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 11 years ago
| Owner: | changed from to |
|---|---|
| Status: | needinfo → new |
If you want, I can produce a “clean” .osm file just for demonstration (not taken from OSM database)…
comment:4 by , 11 years ago
| Milestone: | → 14.12 |
|---|
it's perfect thanks! Okay I didn't know this form of tagging.
comment:5 by , 11 years ago
| Component: | Core → Core validator |
|---|
Replying to sommerluk:
(or, even better, do the opposite: throw an error if junction=yes and a “highway” key are on the same element).
Would be wrong on nodes (e.g. highway=traffic_signals, junction=yes)
comment:7 by , 11 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:8 by , 11 years ago
Woups. I was pretty sure the syntax [key!=value] implied the presence of key, looks like I'm wrong.



can you please attach (or link) a real-world example? Thanks.