Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#768 closed enhancement (fixed)

[ADD] Create a Merkaartor document type containing the edition history

Reported by: Colin Marquardt Owned by: Chris Browet
Priority: major Milestone:
Component: merkaartor Version:
Keywords: Cc: merkaartor@…


Suppose I have edits that are not yet uploaded. Merkaartor knows about this and would warn me about losing data when I tried to exit the program.

However, when I export the data to an OSM file, re-open Merkaartor and load the file back, it doesn't know that the file contains non-uploaded changes.

JOSM solves this by marking the modified items with an extra tag (action=...) in the OSM file.

Change History (4)

comment:1 Changed 12 years ago by Chris Browet

Cc: merkaartor@… added

In reflexion mode...

I agree on the specific topic of OSM export, but on a broader view, something that bugs me off is that there is no way today to know what features have been added/modified (see #782)

A path would be:

  • to have a separate layer for the "dirty" list, i.e. what have to be uploaded
  • have a Merkaartor document load/save feature, the document comprising and export of the current layers, including the dirty one and maybe even the tile cache (or part of it), styles, preferences, etc...

That would allow for a full offline mode for Merkaartor. Don't forget that, as of Qt4.4, WinCE is supported, too, so, why not a MerkaartorCE...

comment:2 Changed 12 years ago by Chris Browet

Owner: changed from bvh-osm@… to Chris Browet
Status: newassigned
Summary: Exported OSM file does not mark non-uploaded changes[ADD] Create a Merkaartor document type containing the edition history
Type: defectenhancement

While thinking about it...

How does JOSM handle the deleted features? By putting an "action=delete", I guess. That makes the exported OSM non-standard, as only JOSM will be able to properly render the OSM, the other renderers ignoring the tag and rendering the deleted stuff (unless in "JOSM-compliant" mode).

Definitely going for the document feature and putting this as "enhancement", as the current function does what it is supposed to do, i.e. export an OSM snapshot.

comment:3 Changed 12 years ago by Chris Browet

Resolution: fixed
Status: assignedclosed

(In [7302]) ADD : Merkaartor document (*.mdc). fixes #768. For the moment, the document contains the layouts structure (and their contents as OSM or GPX), the document history (=undo) and the viewport. This is a biggie and there are probably bugs inside. Please test and report.

comment:4 Changed 12 years ago by Colin Marquardt

Thanks very much for that feature, will check. I'm preparing a move right now though, so I might be slow.

Note: See TracTickets for help on using tickets.