Modify

Opened 6 years ago

Last modified 3 years ago

#8390 new enhancement

[Patch draft] save conflicts to file

Reported by: bastiK Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: conflict Cc:

Description

source:trunk/images/dialogs/conflict.png It should be possible to save the conflicts of a data layer to a file.

The easiest way would be to include conflict data in the corresponding .osm file.

Attachments (1)

conflict-save-draft01.patch (16.2 KB) - added by bastiK 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by bastiK

Attachment: conflict-save-draft01.patch added

comment:1 Changed 6 years ago by bastiK

A first draft is in conflict-save-draft01.patch (only node conflicts).

The format looks like this:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' upload='false' generator='JOSM'>
  <bounds minlat='53.8750344' minlon='10.7050395' maxlat='53.8750914' maxlon='10.7051361' origin='CGImap 0.0.2'/>
  <node id='318023815' action='modify' timestamp='2012-09-05T19:45:18Z' uid='624553' user='triazone' visible='true' version='2' changeset='13000941' lat='53.8750642' lon='10.7050832'>
    <tag k='amenity' v='post_box'/>
    <tag k='brand' v='Deutsche Post'/>
    <tag k='collection_times' v='Mo-Fr 15:00,16:45;Sa 10:30'/>
    <tag k='operator' v='Post'/>
    <tag k='ref' v='Roeckstr.39/Rabenhorst, 23568 Lübeck'/>
    <conflict>
      <node id='318023815' timestamp='2012-09-05T19:45:18Z' uid='624553' user='triazone' visible='true' version='3' changeset='13000941' lat='53.8750642' lon='10.7050832'>
        <tag k='amenity' v='post_box'/>
        <tag k='brand' v='Deutsche Post'/>
        <tag k='collection_times' v='Mo-Fr 15:00,16:45;Sa 10:30'/>
        <tag k='operator' v='Deutsche Post'/>
        <tag k='ref' v='Roeckstr.39/Rabenhorst, 23568 Lübeck'/>
      </node>
    </conflict>
  </node>
</osm>
Last edited 6 years ago by bastiK (previous) (diff)

comment:2 Changed 3 years ago by simon04

Summary: save conflicts to file[Patch draft] save conflicts to file
Type: defectenhancement

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to bastiK
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.