Opened 7 years ago
Closed 7 years ago
#15642 closed enhancement (fixed)
Warn for restriction=* in ways
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.12 |
Component: | Core validator | Version: | |
Keywords: | Cc: |
Description
We have 3978 highway ways with a restriction=*
tag on them https://overpass-turbo.eu/s/tB4
Since it doesn't make sense to have restriction
on ways (it needs a relation with from
, via
, to
), couldn't JOSM issue a warning for them?
JOSM:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-12-05 00:58:56 +0100 (Tue, 05 Dec 2017) Revision:13194 Build-Date:2017-12-05 02:33:31 URL:http://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (13194 pt_BR) Linux Debian GNU/Linux testing (buster) Memory Usage: 876 MB / 7168 MB (532 MB allocated, but free) Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1600x900, :0.1 1280x1024 Maximum Screen Size: 1600x1024 Java package: openjdk-9-jre:amd64-9.0.1+11-1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13 VM arguments: [--add-modules=java.activation,java.se.ee, -Dawt.useSystemAAFontSettings=on] Dataset consistency test: No problems found
Attachments (0)
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Milestone: | → 17.12 |
---|
Nodes already have a warning at error level.
Most used values on ways are no_stopping and school_zone, which are questionable, but it shouldn't be suggested to be used on a relation instead.
comment:3 by , 7 years ago
Hum... indeed I didn't see the other values. The random objects that I clicked were all related with turn restrictions.
A more correct query https://overpass-turbo.eu/s/tBt gives us 1669 ways.
Maybe also warn for nodes? There are 652 nodes with
restriction