Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 11.57am, Wednesday, 19th March 2008]

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.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 10.30am, Thursday, 27th March 2008]

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:[[BR]]

  • to have a separate layer for the "dirty" list, i.e. what have to be uploaded[[BR]]
  • 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...

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 9.07am, Wednesday, 2nd April 2008]

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.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.47pm, Tuesday, 8th April 2008]

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

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 2.30pm, Tuesday, 8th April 2008]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant