Bug 240968

Summary: [Patch] Add an "Edit" button to launch an OSM editor with the current view
Product: [Applications] marble Reporter: markuss <kamikazow>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: wishlist CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: 1.0 (KDE 4.6)   
Platform: Unlisted Binaries   
OS: All   
Latest Commit: Version Fixed In: 0.11.0 / KDE 4.6.0

Description markuss 2010-06-07 00:36:49 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                All

Marble is a great OSM viewer. It would be greater if it simplified the process to edit maps by executing an external editor that opens the current Marble view.

Of the three editors I'm aware, two already support that:
- Potlatch is OSM's web browser-based editor. Marble should open the default browser with this syntax: http://www.openstreetmap.org/edit?lat=22.064994&lon=113.971088&zoom=18

- JOSM is OSM's professional Java-based editor. Its syntax is (quoting from josm --help):

[--download=]minlat,minlon,maxlat,maxlon Download the bounding box [--download=]<url> Download the location at the url (with lat=x&lon=y&zoom=z) [--download=]<filename> Open file (as raw gps, if .gpx)

Instead of --download=<bbox> you may specify osm://<bbox>

Merkaartor -- the obvious sidekick for Marble as it's also Qt-based -- currently does not support such command line arguments.
I've opened an enhancement request at http://trac.openstreetmap.org/ticket/3036 to adopt JOSM's syntax.

Reproducible: Didn't try
Comment 1 Dennis Nienhüser 2010-06-08 22:57:37 UTC
Sounds good. We need to extend our plugin API a bit to support modifying the map context menu and toolbars, then we can add it their.

Merkaartor support is done according to http://trac.openstreetmap.org/ticket/3036
Comment 2 Dennis Nienhüser 2010-06-26 19:05:59 UTC
Initial patch (not plugin based) is at http://reviewboard.kde.org/r/4461/ .