Modify

Opened 10 days ago

Last modified 9 days ago

#15642 new enhancement

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 (3)

comment:1 Changed 10 days ago by naoliv

Maybe also warn for nodes? There are 652 nodes with restriction

comment:2 Changed 10 days ago by Klumbumbus

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 Changed 9 days ago by naoliv

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to naoliv
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.