Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10775 closed enhancement (fixed)

Smartly combine capacity= on object join by summing values

Reported by: jengelh@… Owned by: jengelh@…
Priority: normal Milestone: 14.11
Component: Core Version:
Keywords: join conflict sum Cc:

Description

When using join overlapping areas (Shift-J), the conflict merge algorithm could be smart and add the values of the "capacity" attributes (if existent).

Current version: josm-1.5.7643.

Attachments (2)

sample.osm (1.2 KB) - added by jengelh@… 5 years ago.
sample file
10775_workforme.png (13.8 KB) - added by Don-vip 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 5 years ago by Don-vip

Owner: changed from team to jengelh@…
Status: newneedinfo

Works for me. Please attach a sample file.

Changed 5 years ago by jengelh@…

Attachment: sample.osm added

sample file

Changed 5 years ago by Don-vip

Attachment: 10775_workforme.png added

comment:2 Changed 5 years ago by Don-vip

Resolution: worksforme
Status: needinfoclosed

It works as expected:



Last edited 5 years ago by Don-vip (previous) (diff)

comment:3 Changed 5 years ago by jengelh@…

What I would have liked to see is: to not show the conflict resolution dialog and *instead* just make the sum of 12+34 = 46 for the resulting way.

comment:4 Changed 5 years ago by Don-vip

Keywords: join conflict sum added
Resolution: worksforme
Status: closedreopened
Summary: Smartly combine capacity= on object joinSmartly combine capacity= on object join by summing values

ok I get it now. Well it could be another conflict resolution option. But not the default one, it must be a manual user action.

comment:5 Changed 5 years ago by Don-vip

Milestone: 14.11

comment:6 Changed 5 years ago by Don-vip

Resolution: fixed
Status: reopenedclosed

In 7743/josm:

fix #10775 - allow to sum all numeric values as conflict resolution of capacity

comment:7 Changed 5 years ago by Klumbumbus

maybe the sum option could also be used for:

  • capacity:*=*
  • step_count

comment:8 Changed 5 years ago by Don-vip

In 7751/josm:

see #10775 - allow to sum all numeric values as conflict resolution also for capacity:*=* and step_count

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jengelh@….
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.