Modify

Opened 10 years ago

Closed 3 years ago

#12109 closed defect (worksforme)

Turn restriction onto oneway not properly checked

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core validator Version: tested
Keywords: oneway, turn restriction Cc:

Description

According to https://josm.openstreetmap.de/ticket/10178 turn restrictions onto one-way roads are supposed to be checked.

This does not work here.

Steps to reproduce

  1. Add only_left_turn restriction with one-way road as "to" - restriction pointing into the one-way road's direction. Select ways involved and validate.
  2. Add only_left_turn restriction with one-way road as "to" - restriction pointing against the one-way road's direction. Select ways involved and validate.

Expected result

If the restriction is not needed (points into the one-way road's direction) a warning like "unnecessary turn restriction ...", if it's contradicting the one-way road's direction a warning like "incorrect turn restriction - please check one-way road's direction (also the restriction might not be needed)".

Actual result

No warning is generated.

Additional information

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-10-30 02:32:24
Last Changed Author: Don-vip
Revision: 8969
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-10-29 22:15:23 +0100 (Thu, 29 Oct 2015)
Last Changed Rev: 8969

Identification: JOSM/1.5 (8969 de) Linux Ubuntu 15.04
Memory Usage: 427 MB / 859 MB (204 MB allocated, but free)
Java version: 1.7.0_85, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u85-2.6.1-5ubuntu0.15.04.1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- HouseNumberTaggingTool (31603)
- buildings_tools (31694)
- geochat (31694)
- measurement (31694)
- print (31603)
- reverter (31694)
- terracer (31694)
- turnrestrictions (31694)
- undelete (31603)
- utilsplugin2 (31694)

Last errors/warnings:
- W: Veraltetes 'canvas{background-color}' in 'https://github.com/DisasterNetDOTOrg/HOT-Osm-Validation/archive/master.zip' entdeckt, welches in Kürze entfernt wird. Verwenden Sie stattdessen 'fill-color'.
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=403, Error Header=<OAuth token doesnt have that capability.>
- W: org.openstreetmap.josm.io.OsmApiException: ResponseCode=403, Error Header=<OAuth token doesnt have that capability.>

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 3 years ago

Resolution: worksforme
Status: newclosed

Selecting the relation and validation will bring up the Superfluous turn restriction warning. Only selecting the ways will not add the relation to the objects to check.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.