#18060 closed enhancement (fixed)
throw a warning for nodes with cycleway=crossing
Reported by: | francians | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.08 |
Component: | Core validator | Version: | |
Keywords: | cycleway crossing node validator | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- create a node
- add tag: cycleway=crossing
What is the expected result?
A warning could be thrown, since according to the spec is not valid:
https://wiki.openstreetmap.org/wiki/Tag:cycleway%3Dcrossing
What happens instead?
Nothing.
Please provide any additional information below. Attach a screenshot if possible.
I've talked with local mappers and they agreed to change the node in highway and add bicycle=yes.
I suggest to add this rule to highway.mapcss:
node[cycleway=crossing] { throwWarning: tr("wrong crossing tag on a node"); suggestAlternative: "highway=crossing"; fixChangeKey: "cycleway => highway"; fixAdd: "bicycle=yes"; }
Many thanks
Cheers
Francesco
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-07-10 00:52:47 +0200 (Wed, 10 Jul 2019) Build-Date:2019-07-10 01:30:51 Revision:15238 Relative:URL: ^/trunk Identification: JOSM/1.5 (15238 it) Linux Antergos Linux Memory Usage: 1334 MB / 3541 MB (980 MB allocated, but free) Java version: 1.8.0_181-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 Dataset consistency test: No problems found Plugins: + OpeningHoursEditor (34977) + PicLayer (35030) + buildings_tools (34982) + reverter (35084) + turnrestrictions (34977) + utilsplugin2 (34977) Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/SuspiciousSwimming_Pool&zip=1 + ${HOME}/JOSM/MyRules.validator.mapcss Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools.
Attachments (0)
Change History (7)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
follow-up: 3 comment:2 by , 6 years ago
comment:3 by , 6 years ago
Replying to Klumbumbus:
Same for footway=crossing on nodes, right?
Ah, we already have a warning for this case.
comment:4 by , 6 years ago
Milestone: | → 19.08 |
---|
comment:6 by , 6 years ago
Some of the wrong objects are used on railway=crossing or highway=traffic_signals, so a manual review by the user is better than an autofix which could worsen the situation.
Same for footway=crossing on nodes, right?