Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 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@… 9 years ago.
sample file
10775_workforme.png (13.8 KB ) - added by Don-vip 9 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Don-vip, 9 years ago

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

Works for me. Please attach a sample file.

by jengelh@…, 9 years ago

Attachment: sample.osm added

sample file

by Don-vip, 9 years ago

Attachment: 10775_workforme.png added

comment:2 by Don-vip, 9 years ago

Resolution: worksforme
Status: needinfoclosed

It works as expected:



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

comment:3 by jengelh@…, 9 years ago

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 by Don-vip, 9 years ago

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 by Don-vip, 9 years ago

Milestone: 14.11

comment:6 by Don-vip, 9 years ago

Resolution: fixed
Status: reopenedclosed

In 7743/josm:

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

comment:7 by Klumbumbus, 9 years ago

maybe the sum option could also be used for:

  • capacity:*=*
  • step_count

comment:8 by Don-vip, 9 years ago

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