This object is in archive! 

Offline SQLite maps are not loaded and are deleted at start

Etienne Anken shared this problem 11 years ago
Not a Problem

I downloaded long time ago 6 offline SQLite maps of the same provider (SwissTopo). They all have a size between 900Mo and 1.6Go.


All of them worked well for a long time.


Since some time, only 4 of them are working well.


The 2 others generate a problem when Locus starts (an error at loading). After this message, Locus delete those maps from the SDCard!


When I copy these maps again from my backup to my phone and restarts Locus, it deletes these maps again. I tried to delete cache of Locus, reinstall Locus, ... but it doesn`t work better.


I think I didn`t convert these maps to the newest format. Can it be the problem? But in this case, why would 4 maps load correctly and 2 others not?


Thank you

Replies (8)

photo
0

Hello Etienne


I dont know how Locus can crash your SQLite


however,


you can try to rebuild your map with MOBAC


(That helped me sometimes)


User brotbuexe wrote a nice instruction:


-> http://docs.locusmap.eu/doku.php/comm...

photo
0

Hello,


firstly, Locus never delete any map files without users requests. When this happen, it definitely have to be a problem with SQLite database (map file)!


So what error message you get when you start Locus with such map?


And also, I really suggest to test these map files with for example SQLite manager (add-on to Firefox) or any other tool that allow to work with SQLite files

photo
0

Thank you for your answers!


I tried to open my map with SQLite (as extension of Firefox):


No problem (my file isn`t deleted, and SQLite don`t give me any error), but what is strange is that the table "tiles" is empty ... and the file "weight" 1.5Go ...


Can it be that my DB is corrupted?

photo
0

ah 5 days without response, sorry. So your file is opened without error but it`s completely empty. And in some file browser you see it has around 1.5GB? Nice ... :/


Please try to tap on Database > Compact in SQLite manager. This should remove empty space and reduce size to real value. You`ll then see also by the size, if database is empty or not.


Anyway if there is any way, may you share smaller map with me? Best way to fix it should be test it on own device and simulate this problem. Thanks

photo
0

Hello,


Compact DB didn`t help (the file remains the same size).


But when I make an integrity check I become an error ...


I haven`t a smaller file, so I put 1 of my 2 defect maps on Dropbox:


https://www.dropbox.com/s/gry84z79a4z...


It would be nice if you could check it!


Thanks


Etienne

photo
0

Hi,


I`m sorry but I cannot help here ...


map tested. This is result, when I check file in SQLite browser


and this is debug message directly in android system


both show some corruption on your file. So please check if you don`t have any other backup, anyway I cannot help here

photo
0

Thank you for your support!


It`s lost ... really a shame that Swiss Topo is no more supported by Locus (I would be ready to pay for it, like in other apps like SityTrail which for Switzerland is based on these maps).


Won`t you include them? Locus is such a great tool, I would regret to have to switch to another app with less functionalities but which supports Swiss Topo maps.


Thanks

photo
0

You`re welcome.


We already wrote few emails with Swiss Topo and we want to include them in Locus (they`re really a expensive anyway), but it`s for now stuck on some preparations we now do. So shortly, it`s planned and expected date will be hopefully till end of this year, not sooner, sorry

Replies have been locked on this page!