This object is in archive! 

I messed up default directories somehow

Alan Gornik shared this question 2 years ago
Answered

I was noodling around the settings. Then I was presented with the choice to pick directory locations. I picked one. Now I can't see the points and tracks I had in there. Are those gone? I'm not sure what I did. Help!

Replies (18)

photo
1

Hi Alan,

you probably used the deprecated version of the directory change. Open your phone's file browser and check where the /Locus/ directory is located in your phone. Then go to Locus settings > Miscellaneous > Default directories (the deprecated one) and change the path accordingly.

photo
1

(Not very familiar with android file path lingo.) My file browser shows: Main Storage>Locus . That looks like the directory and I see points, tracks, etc in the subfolders so that's good. When I go to Settings>Misc>Default dirs (deprecated) > Set working directory, I end up with a screen that lists: Internal storage, Private folder in internal memory (recommended) and Private folder on SD card. Which to pick? I also see a list of things under Advanced.

photo
1

Pick the Internal storage. For now, it is still possible to use this storage. Beginning with October, on Android 11 it won't be possible and only the Private folder will work.

If you have Android 11, open Locus settings > Miscellaneous > Default directories (NOT the deprecated one) > Set working directory > change it to the Private folder in internal memory - the folder including all its contents will be moved to the new location. Then restart Locus Map.

photo
1

I have Android 10 - does that make a difference? (I appreciate your help with my lack of deeper understanding of this.) I did what you suggested anyway, but my points, tracks, etc. still don't show up.

photo
1

Hi Michal and Menion,

having GBs of maps in a private folder structure that is killed in case of un-/re-install is a weird approach.

I remember that Menion is not fond of approaching Google about exception. While there is a good justification:

- Maps can be HUGE. Many maps multiply the problem.

- And Maps often are used for more than one App (even LM4 and LMP will be alien to each other - imagine this insanity!!)

This alone prevents a reasonable user experience.

Do not give up before trying!!

Good luck

Cheers

Michael

photo
1

So where does this leave me? Should I reinstall my backup?

photo
1

@Alan

- open Locus menu > About app /Helpdesk > About app > Duplicate folder - set this path in settings > Miscellaneous > Default directories (deprecated) as the main working directory

@Michael

"@Menion is not fond of approaching Google about exception. While there is a good justification"

- Google ignores the fact that Locus users can use huge maps or multiple maps. It allows unlimited storage access only to file browsers or other apps whose core functionality depends on it. Locus Map's running, "unfortunately", doesn't depend on unlimited storage access. Moreover, you can store your huge maps out of Locus main directory - you can have them on your SD card or elsewhere on your phone and add them to Locus as external maps.

photo
1

Well, I read the Google definitions and think there would be an opening beyond those file browser like apps.

The workaround with adding any folder for external maps means regular annoyance for every update or Locus Action download, because Locus will put those maps into the private storage, right? Then you need to go there and move the maps to a more meaningful place ...

photo
1

And you still have the transition issue: I tried once and was told by Locus, that there was not enough space on the device.

Why? Because Locus trieed to COPY the files, hence doubles the amount needed for the transition.

Has this been corrected?

If not: pls. consider to offer to LEAVE the /maps and /vectormaps in their place, only move the rest to /Android/data.

And you nicely could establish those original map files as external automatically. Will save you a lot of angry customers ...

photo
1

PS: the online map caches that Locus automatically generates need to move to /Android/data, of course. And I trust you (Locus) can differentiate between those and the manually downloaded ones.

photo
1

Again appreciate your help. Attached is screen shot of the working dir path. I still can't see any points or tracks on the map. Also attached is screenshot of path to my tracks.db, as an example. This is where my tracks actually are located I take it. So is it problematic that the working dir path doesn't point to same path where tracks actually are ? The working dir has the extra "menion.android.locus.pro/files/" . Again, this is all a mystery to me.

photo
1

Hello Alan

# I still can't see any points or tracks on the map

for me it looks like that at least content of your "database" is inside the old place > locus/data/database

copy complete content of this folder to > Android/data/menion.android.locus.pro/files/data/database

and restart locus, next your poi´s and tracks should be available

good luck


Wolfgang

EDIT:

I just saw that only a very small amount of data is shown in your track.db screenshot

i think there is only an empty folder... and not your stored tracks

so search for a track.db folder with more data on your device or if available inside a backup

photo
1

You are right - the tracks.db in my backup is much bigger - 6.52MB. And there are no tracks.db in the current Locus folders that are of that size. So I think it's time to reload from the backup! Agreed?

photo
1

Alan, thanks for the screenshot. I can see you have three Locus working directories on your phone. Open your phone's file browser and check which of these three directories contain the biggest data. Set the one with the biggest data as the default directory in Locus settings > Miscellaneous > Default directory (deprecated). If this doesn't help (I'm quite sure it will), then recover your backup.

photo
1

I restored from backup and all is good now. (All the dirs that had been on Locus were not 'big' - somehow I must have wrecked them. ) Shows the value of having a good backup. I appreciate everyone's help. I learned a lot through this process.

photo
1

Actually, one more thing. I used Locus for a project of mapping different trees in my neighborhood. I created a point for each tree and took a photo or two attached to each point. I thought the photos would be included in the backup but I guess not. So now the restored points do not show their associated photos - see the screenshot with the error message. I do however see all my photos in Locus - see the screenshot of searching on 'jpg' in /Locus. (You can also see that some of the photos ended up in differing directories.) Any way to restore the photos linked to their points?

photo
1

Hello Alan

open your folder > locus/data/import/Merged_All_trees/files and copy all photos of this folder into the private locus folder as I explained yesterday in my first answer for your "database" with the now crossed out text.

the path where locus looks for the images you can see in the yellow popup

photo
1

Unfortunately, not everything is included in the backup. And Locus does not write a note when setting up the backup.

So I sycronize the whole Locus folder with my drive. Once a week with WLAN. And only in one direction. Then I have all the pictures as a backup.

photo
1

Good idea. But how can I keep a database of the points and their associated photo file names?

photo
2

I think I know my own answer - export as a kmz file.

Replies have been locked on this page!