[Marble-devel] Marble with offline OSM maps

Jeremie Scheer jeremie.scheer at armadeus.com
Tue May 15 14:23:22 UTC 2012


I will certainly use the first option, that seems the most secure and easy.

Thank you very much for your answers and explanations, both of you. I 
think I know enough now to begin some little tests with Marble.

Best regards,
-- 
Jérémie Scheer
Software Engineer
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
ARMadeus Systems - A new vision of the embedded world
http://www.armadeus.com


On 05/15/2012 03:50 PM, Dennis Nienhüser wrote:
> Hi Jeremie,
>
> Am 15.05.2012 15:11, schrieb Jeremie Scheer:
>> Ok I will try with OSM raw files first to see if it corresponds to my 
>> needs.
>>
>>> You can transfer the contents of the directory to your device and 
>>> they'll be automatically found and used by Marble and also 
>>> applications using Marble as a library (assuming you transfer it to 
>>> the right directory on the device). The directory must not be user 
>>> specific, you can also use Marble's system directory (where 
>>> openstreetmap.dgml gets installed to).
>> The map installation directory can be in another path than Marble's 
>> system directory ? My maps will be installed on a SD card that will 
>> be inserted in the system, so how can I set the map directory to 
>> another location in the application code ?
>>
>
> you've got several options to accomplish that:
>
> (1) Use MarbleDirs::setMarbleDataPath() to have the system path point 
> to some directory on the sd card (fill content as needed)
> (2) Use the XDG_DATA_HOME environment variable to change the user path 
> to point to the sd card
> (3) Change openstreetmap.dgml to use an absolute path (on the sdcard) 
> in the <sourcedir> fields
>
> On Nokia mobile phones for example we use a combination of (2) and (3) 
> such that all user retrieved (cached) data is downloaded to the 
> largest partition on the device (2) and share openstreetmap data with 
> other applications (3). I decided against using (1) there to prevent 
> that users mess with data they should not mess with (i.e. users can 
> safely wipe out the entire marble cache folder and still all map 
> themes are there because they are in the system path).
>
> Regards,
> Dennis
>
>
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel


-- 
Jérémie Scheer
Software Engineer
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
ARMadeus Systems - A new vision of the embedded world
http://www.armadeus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120515/4c2e5e38/attachment.html>


More information about the Marble-devel mailing list