Modify

Opened 2 years ago

Last modified 2 years ago

#22998 new defect

Adding a node within snap-distance to two ways will connect unconnected ways

Reported by: Romwriter Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Select "draw" mode (key "A")
  2. Click on a way to add a node

What is the expected result?

The node should be created and inserted into the way. Position of the node should be exactly on the way, so that the segment of the way is kept straight.

What happens instead?

When there is a second (third, ...) way nearby (within snap-distance):

The node is created and inserted into the way AND into all other ways nearby, glueing them together and deforming previously straight ways.

Please provide any additional information below. Attach a screenshot if possible.

We may suppose that ways near each other that have not been connected before are not connected on purpose. So we should keep them apart when editing. Inserting a node into one way should insert that node into another way ONLY if both ways have shared the exact segment before.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-06-02 17:23:29 +0200 (Fri, 02 Jun 2023)
Revision:18746
Build-Date:2023-06-03 01:31:02
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18746 de) Linux Ubuntu 22.04.2 LTS
Memory Usage: 1550 MB / 3734 MB (307 MB allocated, but free)
Java version: 18.0.2-ea+9-Ubuntu-222.04, Private Build, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1200 (scaling 1.00×1.00) :0.1 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: XFCE
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ PicLayer (1.0.2)
+ buildings_tools (36011)
+ notesolver (0.5.0)
+ reverter (36066)
+ terracer (36079)
+ turnlanes (36079)
+ undelete (36066)
+ utilsplugin2 (36079)
+ wikipedia (605)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/DE.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/pedestrian_crossings_in_DE&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ ${HOME}/josm/strassenbegleitende-rad-und-gehwege.xml

Map paint styles:
+ https://www.dropbox.com/s/qo3ai47fpv241jf/Styles_Fixme_and_Notes.zip?raw=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features_ryg&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1

Last errors/warnings:
- 00016.480 W:  straßenbegleitender linker Fußweg: Could not get presets icon presets/footway.png
- 00016.481 E: Fehler beim Laden des Bildes 'presets/cycleway.png'
- 00016.481 W:  Selbständige Rad- / Fußwege: Could not get presets icon presets/cycleway.png
- 00016.482 E: Fehler beim Laden des Bildes 'presets/cycleway.png'
- 00016.482 W:  Radweg: Could not get presets icon presets/cycleway.png
- 00016.483 E: Fehler beim Laden des Bildes 'presets/footway.png'
- 00016.483 W:  Fußweg: Could not get presets icon presets/footway.png

Attachments (1)

screenshot1.png (753.4 KB ) - added by Romwriter 2 years ago.
Screenshot

Download all attachments as: .zip

Change History (5)

comment:1 by GerdP, 2 years ago

I think JOSM shows that it will add the node to multiple ways by highliting them all. What would you expect to happen when you click in that situation? Maybe you can attach a small example osm file?

by Romwriter, 2 years ago

Attachment: screenshot1.png added

Screenshot

comment:2 by Romwriter, 2 years ago

Screenshot attached. The mouse pointer is located not between the highway and the boundary way, but exactly on the highway (way 197516897), as confirmed in the status bar on the bottom. When I click, JOSM inserts a node into the highway (correctly) AND modifies the boundary way 73345823 nearby.

comment:3 by GerdP, 2 years ago

Ah, I didn't notice that only one way is shown in the status line when possibly multiple ways are highlighted. Besides that you are right, the wanted action is probably never to connect those ways when they are parallel. A different situation would be when ways are crossing and you want to add the connection.

comment:4 by SekeRob, 2 years ago

Have this / similar issue to the extend that the second close-by way will snap connect to the way where the node is place. Happens on ways and closed ways too (polygons)

Last edited 2 years ago by SekeRob (previous) (diff)

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 Romwriter.
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.