This object is in archive! 

Android 6 - How to add offline map folder file from SD card?

Jochen shared this question 7 years ago
Answered

After upgrade to Android 6.0.1, I have no longer found a possibility to add a folder on the SD card to the offline maps. As standard folder for vector maps, an SD card folder can still be selected, but maps in that folder are not visible for map selection.


How can I use offline maps from the SD card in Locus Map Pro 3.16.2 on Android 6.0.1?

Replies (20)

photo
1

Good day Jochen,


for a place of maps vector maps on SD card exists two options.


One is over settings > misc > default directories. Here you may thanks to system browser pick a directory on SD card and Locus will use it. This feature is currently broken on few devices and will be fixed in new Locus version. If it works correctly is visible that after picking a directory, you see this directory back in Locus settings. If there is no path, then it's broken, sorry for this (probably your case).


Second option is: http://docs.locusmap.eu/doku.php?id=manual:user_guide:maps_external . It's useful method for selecting custom directory. Anyway please be aware that this won't affect default directory that will Locus use for download a vector maps (LoMaps) from Locus Store.


Hope I have helped you, otherwise feel free to ask.

photo
1

Hi Menion,


thanks for the answer. I have already tried your first option, and I could select the SD card folder with the vector maps. However, this didn't update the directory in the settings (it still shows "Standard" for the mapsVector folder). So it seems that this is currently broken for me. I'm using a Samsung Galaxy S5.


The second option also doesn't work after the Android 6.0.1 upgrade (as far as I remember it did work before that): when trying to add a folder with external maps, there is no way to navigate to a folder on the SD card. It only shows the internal storage.

photo
1

Good day Jochen,


let's wait with first option on next Locus version (will be available probably tomorrow).


Second option: are you sure, that path to card is not in Locus file browser? Please check some more dirctories in root directory, like "mnt", "mount", "storage" etc. All new Android 6 devices has quite weird naming for SD card, for example on my device it's on nice path /storage/9C33-6BBD/ , nice and clear :/.


Hope this helps and also hope to hear positive news with next version.

photo
1

With the latest update of Locus Maps, it works again. Thanks!


And yes, I have a similarily cryptic mount point for the SD card :-)

photo
1

Jochen, thanks for confirmation. This is what I hoped to see - a positive answer.


Have a nice weekend.

photo
1

Hi, i have pro version 3.17.2, HTC 820 with android version 6.01,

software number 3.17.401.3 and still problem with "default directory is

READ-ONLY"...

photo
1

Hi Tomek,


have you tried to change the main folder to a location on the SD card? I have only changed the mapsVector folder, that worked. For the main folder, that may not work, since most probably Locus needs write permissions there.


Regards,

Jochen

photo
1

Hi Jochen,

I tried to change mapsVector folder. I had to set main directory of sdcard as root dir, set write permissions.

Then Locus applied changes to default directories.

Thanks for help.

Best Regards

Tomek

photo
1

Hi there

First of all thanks for the great work - I love this software!!

Small Problem in Android 6.01 on my Galaxy S5: i can choose maps and mapsOnline as Default Folder but not mapsVector.

Any Suggestion on how to solve this?

Thanks

Philipp

photo
1

Here with the right screenshot ...

Philipp

photo
2

Hello Philipp

on your external SD > storage/679A-B121/locus/

exist a Folder "mapsVector" with a vectormap ??

and it´s not possible for you to select it?


Wolfgang

photo
1

Hi Wolfgang

Yes - I have all the Folders on the external SD.

When i am on Screen_1 and tap on "maps" I get to Screen_2. However when I am on Screen_1 and tap on "mapsVector" I get to Screen_3. I can not select "mapsVector" as a Directory. The same behavior with some of the other slectable Folders. Some work some do not.

Thanks again

Philipp

photo
1

Hello Philipp,

please try on your screenshot 3, tap on top right three dot menu. There should be option to "Show SD card". Is it there?

photo
1

Hi Menion

Yes, this works. However if I select then the "mapsVector" folder on the external SD card(see Screen_4) and check it I get the Error message "Prozess nicht erfolgreich" (see Screen_5).

Maybe I should also bee able to get to the "/storage/679A-B121/Locus" folder and select "mapsVector" there but this folder is not accessible this way.

Thanks

Philipp

photo
1

Hello,

hmm "Prozess nicht erfolgreich" is not the best description of error, I should improve it.

I was not thinking about it before, but now I see, you placed your "maps" and "mapsOnline" directories on SD card. This works for you and Locus may write into these directories? If so, how did you do it?

photo
1

Hi Menion

No - I can not write to the folders on the external sd card as it is read only (device not rooted). My "active" Locus folder is on the internal storage. On the external sd card Locus folder I only keep the large map files.

So if I want to generate maps I change the map directory to the internal storage, generate the maps and then move the finsihed maps to the corresponding folder on the external sd card. Finally I re-select in Locus again the folder on the external sd card for the map reading.

This procedure works fine for the "maps" and the "mapsOnline" but not for the "mapsVector" and some other Folders so therefore I think the solution is alrady present within Locus.

I asume if I could also access the "/storage/679A-B121/Locus" folder with the internal file manager after selecting "mapsVector" this would solve the problem.

From the slection (Screen_1) see the different choices I get when I select "maps" (Screen_6) and "mapsVector" (Screen_7). Why can I get deeper into the android dirctory when I chose "maps"?

Thanks

Philipp

photo
1

Then there is an easy and straight forward way: keep your mapsvector folder on the INTERNAL SD in the misc settings.

Move the completed large vector maps manually to the folder on SD.

Then go to Map management function and add ('+') the external SD folder, so Locus knows there are vector maps in addition.

That's what I do on various devices over time and it works like a charm.

photo
1

btw: mapsonline on SD should create problems when you add new tiles over time by browsing an online map. Write access to this folder is needed permanently to work properly.

From the screenshots I assume that your main Locus folder is on INTERNAL SD - just to confirm. Then your mapsvector is already right.

photo
1

Michael

Thanks - noted I will put "mapsOnline" back to the internal storage. This is no Problem as the file size is small.

Yes, confirm, my main Locus Folder is on the Internal SD. I just try to Keep the large "maps" and "mapsVextor" Folder on the External SD. As described above this works perfect with "maps" but not with "mapsVextor".

Also your suggestion map management function and add ('+') the Folder "mapsVector" does not work. The system reacts with an error "Problem with mapsVector".

By the way I copied a vector map into may "map" Folder on the external SD Card but it does not appear on the map managment selection screen. Is the type of maps an issue on the external SD?

Thanks

Philipp

photo
1

Philipp,

just tried to put a .map file into the maps folder on internal SD, and an .sqlitedb file into mapsVector on internal SD. Both were not recognized. Swapping the files between the directories, then Locus automatically found both.

Just to double check: the files you put on external SD mapsVector, they are unzipped and file names end with .map ?

Cheers

Michael

photo
1

Hmm "problem with "mapsVector"? Weird. Philipp, really suggest to rename your custom directories to different names. Or at least your root folder on SD card where you have your maps, try to rename to something different then "Locus" if it helps.

photo
1

Hi Menion, your hint rings a bell from my test.

When I tried to add the standard folders on internal SD explicitly by the Plus button, Locus denied both. Which indeed points to some pattern matching and rejection when adding folders.

photo
1

Yes it is correct. There is some small test if you are not trying to add something from default Locus Map directories. And in case, you create exactly same directories on SD card, like in this case /sdcard/locus/maps, /sdcard/locus/mapsVector and try to add these, it may cause troubles. Probably there should be better check on this, not just by the name, but for now, it was not a problem.

photo
1

Menion/Michael

If I create a folder with the name "test" on the external SD Card and put a vector map in it I can add it with the Locus map manager (+). So for me the problem is solved. Thanks

PS: still a strange phenomena that "maps" can be slected as the standard folder on the external card and "MapsVector" con not be selected.???

Thanks

Philipp

photo
1

As Menion confirmed, Locus examines the name you select and tries to prevent doubling. It seems Locus does not compare the full folder path, hence concludes the folder is already in Locus when you try to add by the Plus function. That is how I understand the situation. Glad it works for you. And I had used a different name on external SD, so I did not hit the issue.

photo
1

Hi guys, weird. I'm trying to simulate same issue with identically named directories on SD card and no problem! So I'm checking a source code and for my own surprise, this function test on absolute path, not on some relative "/Locus..." path. So there should be no problem with same name of directory 'Locus' on SD card.

This test is anyway comparing current defined directory, so if you in settings set directory for "maps" to SD card, then it should not be possible to add this directory with "External maps" as well.

Sorry for a confusion.


Fine it works for you, anyway I'll try at least to next version define some better error descriptions, so it will be more clear, what is a problem. Thanks for now.

photo
1

Gents

Final observation: after I selected with the Locus map manager (+) "test" as the Location for the vector maps on the external SD card (which works) and then go and check what happend on the screen where I selct the standard map folders and hit "mapsVector" the Locus internal file manager leds my exact to the folder "test" on the external SD card. However I can then not save "test" as the standard folder.

Hope this additional observation helps.

Best

Philipp

Replies have been locked on this page!