Locus Map - forum

Support => Troubles & Questions => Topic started by: Hispanico on June 17, 2023, 14:42:29

Title: Import or copy kml tracks
Post by: Hispanico on June 17, 2023, 14:42:29
I pass from ouxmap to locus :-) and i have a lot (45)of tracks all with proper name.
Im wchich way a can copy all these tracks in locus (folder) so i have all in locus ready, without every time import track from folder of orux?

Thank
Hispa
Title: Re: Import or copy kml tracks
Post by: michaelbechtold on June 17, 2023, 17:03:21
Welcome to Locus :-)
I'm talking about LM4 here: enter Track manager, employ the "+" function, navigate to your local folder (*), long tap one of the desired ones, then check all those you want, finally kick off the mass import.

(*) if the Orux track files should be in its private folder, than use a file manager like x-plore or solid explorer or TC to copy them to the Locus export folder before you start above process.
Title: Re: Import or copy kml tracks
Post by: Tapio on June 17, 2023, 17:04:12
Locus does not use a folder with gpx/kml while running. It works with a database. You can import and export tracks to/from it - manually.
Title: Re: Import or copy kml tracks
Post by: Menion on June 17, 2023, 20:45:40
Do not forget on "Map items" guys ;).

You may copy your data into Locus/mapItems/subdir and then in the app use the so-called "Map items" function to enable/disable them. Or you may of course import data into the database as others suggested (the most common way).
Title: Re: Import or copy kml tracks
Post by: Tapio on June 17, 2023, 21:59:24
Quote from: Menion on June 17, 2023, 20:45:40Do not forget on "Map items" guys ;).
Good reminder... I just used it once. I noticed it allows to display gpx files. It's weird and clunky to use. It does not tell that items are being displayed. And they can only be removed via "hide all".
Title: Re: Import or copy kml tracks
Post by: Hispanico on June 18, 2023, 17:16:38
THANKKKKKKK
But i import from file.zip but now i have all my old tracks but without name...only
"Segment: 1 "
"Segment: 1 "
"Segment: 1 "
"Segment: 1 "
etc..

:-((

and if i use function "Map Items", that is very good alternative, is not possible order track for name, date etc.. or i wrong ?

Hispa
Title: Re: Import or copy kml tracks
Post by: michaelbechtold on June 18, 2023, 18:09:34
You might try to do the multiple import way I described; maybe this will preserve the names.
I have no Orux gpx to test myself.
Title: Re: Import or copy kml tracks
Post by: Hispanico on June 19, 2023, 08:45:11
Quote from: michaelbechtold on June 18, 2023, 18:09:34You might try to do the multiple import way I described; maybe this will preserve the names.
I have no Orux gpx to test myself.
I try but the problem track without name remain...

Hispa
Title: Re: Import or copy kml tracks
Post by: Menion on June 19, 2023, 09:14:37
May you please share any track you try to import? I have a strong feeling that app do import correctly and "issue" is in the file itself.
Title: Re: Import or copy kml tracks
Post by: Hispanico on June 19, 2023, 11:04:25
Yesss here is it

Hispa
Title: Re: Import or copy kml tracks
Post by: Menion on June 19, 2023, 12:22:55
Thanks,
if I'm looking correctly into "Eremo Gamogna ..." file, then track really has defined "Segment: 1" as a name.
Title: Re: Import or copy kml tracks
Post by: michaelbechtold on June 19, 2023, 14:53:46
@Menion: I'm not fluent in KML, but I see
"<name><![CDATA[Eremo Gamogna 2 2022-05-05 13:48:07]]></name>"
as the first occurrence of name in one of the gpx files. That looks like the expected name, I suppose.
In particular as the file contains only one track.
Just my 2c ...
Title: Re: Import or copy kml tracks
Post by: Menion on June 19, 2023, 14:56:53
Yes, but it is a title in the document. The track itself has defined its own name, at least in the "Eremo Gamogna ..." file I've checked.
Title: Re: Import or copy kml tracks
Post by: Hispanico on June 19, 2023, 21:59:40
So pheraps if i convert kml to gpx possibly i can solve the problem of name ?
If yes whici program is good to convert ?

Thank again
Hispa
Title: Re: Import or copy kml tracks
Post by: michaelbechtold on June 20, 2023, 08:39:48
AllTrails Web Site does a good thing: put the top level name in all the places where a segment name was.
But that would be tedious.
You can do a similar thing yourself using Notepad++ e.g. on a PC to do a "substitute all" for each file.
Maybe there is a program for PC that does that, too.