Bug 297375 - Share/load maps from other mapping software
Summary: Share/load maps from other mapping software
Status: CONFIRMED
Alias: None
Product: marble
Classification: Applications
Component: data (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: LO wishlist
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 12:12 UTC by julien.t43+kde
Modified: 2014-04-02 16:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description julien.t43+kde 2012-04-03 12:12:29 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Build Identifier: 

Be it gmapcatcher, foxtrotgps, gpsprune ... you haven't always tons of bandwidth (and disk) to reload same maps in every software. I didn't find where Marble/digikam stores them (if it does) but being able to use others if present would help 

See also: 
http://code.google.com/p/gmapcatcher/issues/detail?id=301 
https://sourceforge.net/tracker/?func=detail&aid=3466768&group_id=192994&atid=943644 
was submitted on digikam here: https://bugs.kde.org/show_bug.cgi?id=297297

For example, saying load/save map tiles in $HOME/.googlemaps/tiles or $HOME/.googlemaps/osmTiles (gmapcatcher) if the format/hierarchy is the same

Reproducible: Always
Comment 1 Dennis Nienhüser 2012-05-19 10:13:45 UTC
I don't expect much activity by our core developers here to be honest, but patches are welcome.

It would be nice to have a more specific bug though (or several of them for each application), since "other mapping software" is too broad.
Comment 2 julien.t43+kde 2012-11-17 15:54:56 UTC
I want to ask first if there is any documentation (or which code file) which says where is the cache (if any or how to enable/disable it) and how it is stored ?
if the same format, it's just putting a symlink at the appropriate place.
Comment 3 Dennis Nienhüser 2012-11-18 12:15:51 UTC
It's in ${XDG_DATA_HOME}/marble/maps. OpenStreetMap tiles for example end up in ~/.local/share/marble/maps/earth/openstreetmap/{z}/{x}/{y}.png then with the default XDG_DATA_HOME=$HOME/.local/share.

Turning e.g. ~/.local/share/marble/maps/earth/openstreetmap into a symlink to ~/.openstreetmap should work for sharing data with other applications assuming the {z}/{x}/{y}.png format is the same.
Comment 4 julien.t43+kde 2012-11-18 13:19:24 UTC
Gpsprune is using this format and it's optional OSM format for Gmapcatcher (see other bugs).
As for marble path, got nothing in the corresponding path. is there a way to know if an application (digikam) is using cache or not ? or to externally force it to use cache ?

thanks a lot.
Comment 5 julien.t43+kde 2012-11-18 13:42:04 UTC
forgot to say: maybe nothing because digikam seems only to display google maps. no visible way to switch to openstreetmap inside digikam gui (but external links to osm, mapquests, ...)
Comment 6 julien.t43+kde 2014-04-02 16:09:58 UTC
http://josm.openstreetmap.de/wiki/SharedTileCache