having Marble find the right data files

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue May 28 03:51:00 PDT 2013


On Tue, May 28, 2013 at 12:44 PM, Sergey Starosek <sergey.starosek at gmail.com
> wrote:

> On Tue, May 28, 2013 at 10:01 AM, Henrik Brautaset Aronsen
> <subsurface at henrik.synth.no> wrote:
> >> >
> >> > Could we check through the list of installed themes
> >> > (using MapThemeManager::mapThemeIds()) for
> >> > "earth/googlesat/googlesat.dgml" and if it's there continue.
> >> > Otherwise copy our googlesat.dgml to MarbleDirs::localPath()
> >> > and delete it on exit.
> >>
> >> Yes, that seems like a good way to do it.
> >
> > Seems like a terrible way to do it IMHO.  Either we decide that we're
> using
> > Google maps within its terms (and add the files with the installer) or we
> > don't.  Removing the dgml on quit just seems sneaky.  Also, do we clear
> the
> > cache on exit as well?  And what happens if I have two instances of
> > Subsurface running at the same time?
>
> I agree that this solution is not perfect, but for now there's no
> other which complies with terms of use.


Sure it is.  Just install it in a non-default location so that only
Subsurface gets to use it.

Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130528/a5377c29/attachment.html>


More information about the subsurface mailing list