Opened 12 months ago
Last modified 11 months ago
#24053 needinfo enhancement
Validator: Detect invalid barrier nodes
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | |
| Keywords: | barrier | Cc: |
Description (last modified by )
Barrier tags must not be used on junction nodes connecting multiple ways. https://wiki.openstreetmap.org/wiki/Key:barrier#How_to_map_barrier_nodes
Such invalid barriers could be detected by the validator:
- a node has a barrier tag
- the node belongs to more than one way with a highway tag
Attachments (0)
Change History (3)
comment:1 by , 12 months ago
| Description: | modified (diff) |
|---|
comment:2 by , 11 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
There is already a warning see combinations.mapcss line 122-147 though it makes some assumptions and excludes some highway=*, see #20742.
Please, provide real world examples where you expect to get a warning but current implementation does not catch it.
comment:3 by , 11 months ago
| Keywords: | barrier added |
|---|



Note that this can be fine with some barriers, e.g. bollards. And I assume you mean either three connecting ways or two connecting ways where at least one way isn't an end node.
Osmose has such a check, see sql41. Might be useful to see that implementation in case someone wishes to implement this.