having Marble find the right data files

Dirk Hohndel dirk at hohndel.org
Sat May 25 15:48:32 PDT 2013


On Sun, 2013-05-26 at 00:17 +0200, Henrik Brautaset Aronsen wrote:
> Henrik Brautaset Aronsen wrote: 
> > How about checking if ~/.local/share/marble/maps/earth/googlemaps
> > exists upon Subsurface startup, and offer to copy the files?
> > 
> > [No thanks, use builtin maps]
> > [Yes, copy the files]
> > [✓] Ask again next time
> 
> 
> I did just that.  Or partly, at least.  Here's a quick thingie that
> disables your MarbleDirs::setMarbleDataPath() and instead copies the
> files to ~/.local.  It's probably too intrusive right now, as it
> doesn't ask for permission to write the user's ~/.local directory.
> Also, I don't know how this would work on Windows.

I have thought about doing this as well. Given how small these files are
I guess it's not too big of a deal - but it makes the question about the
potential violation of Google's terms of service more difficult. If we
use the Google maps just inside of Subsurface it is clear that they are
not used for navigation, for example. Yet if we copy these files into
the user's ~/.local directory then any app using Marble will (be able
to) use the Google maps... so this is definitely going a step further
than what I did.

So I'm not sure I'm entirely comfortable with your change :-(

/D



More information about the subsurface mailing list