Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18615 closed defect (wontfix)

Combine ways should merge small gaps

Reported by: pangoSE Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by pangoSE)

I suggest we fix "c" combine. Small gaps are typical in MapWithAI and I suggest we notify the user (in bottom left corner) when small gaps where merged during combine.

Attachments (0)

Change History (6)

comment:1 by GerdP, 4 years ago

Please clarify. The default action for hotkey CTRL+C is "Edit: Copy" (at least on Windows systems). Default hotkey for "Combine ways" is just "C" and this doesn't combine unconnected ways. Do you use a plugin which behaves different or do want the standard "Combine ways" action to work different? Something like a combination of "Merge nodes" and "Combine ways"?

comment:2 by pangoSE, 4 years ago

Description: modified (diff)

in reply to:  1 comment:3 by pangoSE, 4 years ago

Replying to GerdP:

Please clarify. The default action for hotkey CTRL+C is "Edit: Copy" (at least on Windows systems). Default hotkey for "Combine ways" is just "C" and this doesn't combine unconnected ways. Do you use a plugin which behaves different or do want the standard "Combine ways" action to work different? Something like a combination of "Merge nodes" and "Combine ways"?

Sorry for the confusion. I use no plugin. I know of no such plugin, but I think this is best implemented by fixing the default behavior and perhaps limiting it to experts.

comment:4 by GerdP, 4 years ago

Maybe this could be done in a new action but I would not want to modify the existing action as other actions use it as well.
You have at least three ways to connect two ways which have no common point but two close end points A and B

  • Add one or more segments which close the gap between A and B
  • Merge A with B at the postion of A
  • Merge A with B at the postion of B

How should JOSM know what is right?

comment:5 by stoecker, 4 years ago

Resolution: wontfix
Status: newclosed

That's not a good idea. When combine ways would change the geometry it will result in many many broken situations where people join stuff which should not be joined at all. If there are gaps people should have a look and fix them.

comment:6 by taylor.smock, 4 years ago

@PangoSE: Small gaps do occur in the data I get from the MapWithAI service. I believe that it should be fixed on the service side (it is an issue with RapiD as well, if it is the problem I'm thinking about).

I'm inclined to let people look at each one manually instead of trying to fix it in the plugin (I do some stuff in the plugin with nodes that are nearby, but I added a very short cutoff for that).

The MapWithAI service has several problems: it has a tendency to give different data based off of the bounding box that is sent (specifically for roads that go outside of the bounding box, since what should be the same node moves a little -- I think I've seen up to 2m or 3m, but is usually <0.6m, which is what I use for the default -- you can try changing that in advanced preferences with the mapwithai.duplicatenodedistance), and I do some stuff in the plugin to try and account for that.

If you do find an area that is egregiously wrong, please report a bug in the MapWithAI plugin, and I'll take a look at the area in RapiD as well as the plugin. If both are egregiously wrong, then it is probably a server side issue. (I cannot fix those).

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.