Modify

Opened 14 years ago

Last modified 13 years ago

#6441 new defect

turnrestrictions plugin putting wrong end of split highway in "To" when selecting "Only Right Turn"

Reported by: rickmastfan67 Owned by: team
Priority: major Milestone:
Component: Plugin turnrestrictions Version: latest
Keywords: Cc:

Description (last modified by rickmastfan67)

Just was adding in a turn restriction and when I split the highway after putting it into the "To" box, I noticed the plugin put in the wrong segment when I had selected the "Only Right Turn" option. (NOTE: This is also happening the the "No Right Turn" option.)

Steps to reproduce:

  1. Load the attached osm file in JOSM.
  2. Select the top motorway_link.
  3. Hit the "Create a new Turn Restriction" button. (the motorway_link should already be in the "From" box)
  4. Select the "primary" highway and put it in the "To" box.
  5. Select either the "No Right Turn" or "Only Right Turn" options in the "Type" box (doesn't matter which one, happens with both)
  6. Select the "errors" tab.
  7. Hit the "Set via-Object" button to select the intersecting node.
  8. Now, the only error left should be the "US 74 Business (12 nodes)" needs to be split.
  9. Hit the "Split now" button.

Results:
The turnrestrictions plugin puts the wrong part of the split way in the "To" box.

Expected Results:
The turnrestrictions plugin puts the correct part of the split way in the "To" box.

This is with r4125 and turnrestrictions v26079

Attachments (1)

turnrestrictions problem.osm (7.1 KB ) - added by rickmastfan67 14 years ago.

Download all attachments as: .zip

Change History (3)

by rickmastfan67, 14 years ago

comment:1 by rickmastfan67, 14 years ago

Description: modified (diff)

comment:2 by rickmastfan67, 13 years ago

Still happening in r4317.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-08-14 01:32:17
Last Changed Author: bastiK
Revision: 4317
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-08-13 20:04:52 +0200 (Sat, 13 Aug 2011)
Last Changed Rev: 4317

Identification: JOSM/1.5 (4317 en)
Memory Usage: 124 MB / 3640 MB (68 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: turnrestrictions (26530)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to rickmastfan67.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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