Folder export to zip flattens subfolders and silently drops tracks with the same name

Vincent shared this problem 5 days ago
In Progress

Hi team!

When I export a folder from My Library (folder tools > Export, GPX format, "Export in a single file" unchecked, so I get a ZIP), the tracks from the subfolders are included, but they all end up at the root of the archive. The folder structure is lost.

The bigger problem: if two tracks have the same name in two different subfolders, I noticed that only one of them ends up in the ZIP. The other one is overwritten without any warning.

Example:

Trips/
  Alps/day1
  Pyrenees/day1
The exported zip contains only one day1.gpx.

I think that the zip file should mirrors the folder tree (Trips/Alps/day1.gpx, Trips/Pyrenees/day1.gpx). Failing that, duplicate names should at least get a suffix (Day 1 (2).gpx) so nothing is lost.

I thiink it would also make the zip usable as a real backup.

I use Locus Map 4.36.1, Android 17

Thanks!

Replies (2)

photo
1

Hi Vincent,

please install the newest beta version from our public repo https://bit.ly/lmVersionsTest. Export the folder to GPX and check the option "export to a single file". The subfolder structure will be lost but the tracks with the same name will be preserved.

This comment is in trash! Restore
photo
1

Hi Michal!

Sorry for the late reply, and thanks for fixing this so quickly in the latest beta. I'll give it a try.

One more question: is there any chance the export could keep the folder structure from the Library in the future? Or are there technical constraints that make it difficult?

Thanks again and have a good day!

This comment is in trash! Restore
Leave a Comment
 
Attach a file
You can't vote. Please authorize!