Bug 240968 - [Patch] Add an "Edit" button to launch an OSM editor with the current view
Summary: [Patch] Add an "Edit" button to launch an OSM editor with the current view
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries All
: NOR wishlist
Target Milestone: 1.0 (KDE 4.6)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 00:36 UTC by markuss
Modified: 2010-09-27 21:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.11.0 / KDE 4.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/ .