Opened 3 months ago

Closed 3 months 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:


We have 3978 highway ways with a restriction=* tag on them
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?


Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-05 00:58:56 +0100 (Tue, 05 Dec 2017)
Build-Date:2017-12-05 02:33:31

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,, -Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (0)

Change History (4)

comment:1 Changed 3 months ago by naoliv

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

comment:2 Changed 3 months 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 3 months 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 gives us 1669 ways.

comment:4 Changed 3 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 13217/josm:

fix #15642 - Warn about turn restrictions on ways

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.