<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I will certainly use the first option, that seems the most secure
and easy.<br>
<br>
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.<br>
<br>
Best regards,<br>
-- <br>
Jérémie Scheer<br>
Software Engineer<br>
Tel: +33 (0)9 72 29 41 44<br>
Fax: +33 (0)9 72 28 79 26<br>
ARMadeus Systems - A new vision of the embedded world<br>
<a class="moz-txt-link-freetext" href="http://www.armadeus.com">http://www.armadeus.com</a><br>
<br>
<br>
On 05/15/2012 03:50 PM, Dennis Nienhüser wrote:
<blockquote cite="mid:4FB25F19.7030501@gentoo.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi Jeremie,<br>
<br>
Am 15.05.2012 15:11, schrieb Jeremie Scheer:
<blockquote cite="mid:4FB255F4.3060909@armadeus.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Ok I will try with OSM raw files first to see if it corresponds
to my needs.<br>
<br>
<blockquote type="cite">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).</blockquote>
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 ?<br>
<br>
</blockquote>
<br>
you've got several options to accomplish that:<br>
<br>
(1) Use MarbleDirs::setMarbleDataPath() to have the system path
point to some directory on the sd card (fill content as needed)<br>
(2) Use the XDG_DATA_HOME environment variable to change the user
path to point to the sd card<br>
(3) Change openstreetmap.dgml to use an absolute path (on the
sdcard) in the <sourcedir> fields<br>
<br>
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).<br>
<br>
Regards,<br>
Dennis<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Marble-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/marble-devel">https://mail.kde.org/mailman/listinfo/marble-devel</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Jérémie Scheer<br>
Software Engineer<br>
Tel: +33 (0)9 72 29 41 44<br>
Fax: +33 (0)9 72 28 79 26<br>
ARMadeus Systems - A new vision of the embedded world<br>
<a class="moz-txt-link-freetext" href="http://www.armadeus.com">http://www.armadeus.com</a></div>
</body>
</html>