Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - lor74cas

#91
Quote from: ColdAutumn on January 15, 2022, 12:00:47
Quote from: lor74cas on January 15, 2022, 10:37:22
Hello,
isn't it enough for you to just be able to tap the eye icon to disable lower levels?

No, almost every time I switch from other App to LOCUS, all levels are displayed!
I don't know why, it seems that LOCUS cannot effectively control.
If you are interested, you should find the same situation after you import it.

Many thanks.
There are several things that don't work as well as they should with kml. For example, even if I disable the visibility, the objects remain on the map. Sometimes I have to close and reopen locus to get rid of objects. I noticed that with your earthquake file, as with others that I haven't used for a while, for weather or statshunter.
#92
Hello,
isn't it enough for you to just be able to tap the eye icon to disable lower levels?
#93
Quote from: tapio on January 07, 2022, 11:35:23
Ugh, I need to look again. Just some related thoughts I hope:

a) I didn't only have Locus GPX in mind. Some other apps were in use as well, they create different xml formats. Replace with NULL? Do I leave an ugly empty line? May need to look at it again.
b) time xml tag may be stretched over multiple lines.
c) I think with the exclusion of the bracket I prevented greedy matching. Keep in mind Regex matches greedy. a.*b matches until the last "b": 1234abcdgebabbbgggchbdkj - i.e. in GPX it would match from first <time> until the last </time> it can find. This would effectively delete most of the gpx - this is also because sed -z in a way flattens the whole file to one line (otherwise, in the default line-by-line style of sed, regex wouldn't work for xml tag structures IMO)
d) As for the tab I probably was just lazy to look into docs, wasn't sure about it being included in \s, thanks for the info
a) I understand, I associate gpx with locus without thinking that there are other apps  :D
Replace with NULL? sed -i -z 's;[\s\t]*<time>[^<]*</time>[^<]*;;g' sed 's for substitution; regexp for search; text to replace with; g greedy operator' the null in this case is between ;;
b) do you have an example?
c) so you use this method because of the -z parameter, this part is also not clear to me, do you have a file example for which the -z parameter is needed?
Never using the -z parameter makes it harder for me to interpret your regexp, do you have an example file that made it necessary for you to use it?
d) Sometimes being a beginner like me is an advantage because without documentation you do nothing  ;D

Thanks for the comprehensive answers, you are very kind as always

#94
Quote from: tapio on November 15, 2021, 10:30:50
Quote from: Andrew Heard on November 14, 2021, 22:01:57I see the main processing is done via the line
sed -i -z 's;[\s\t]*<time>[^<]*</time>[^<]*;;g'
Thx. Yeah, even if you're good at regex, sed is always tricky; it's especially the CRLF treatment of it, so I was happy about the -z option. Took me a while. The greedy matching of regex and multiple occurences of the same tags is also a thing always...
Just wanted to create a basic task. GPX files sometimes differ, e.g. some apps create a more flat output with nested xml tags and one trkpt per line...

Your next posting will be #1000 :)
Hello tapio,
I am recently trying to improve my knowledge of regexp and I would like to understand a couple of things about your method.
You have chosen to replace the text with null instead of deleting the row, for what reason?
The search for the entire line containing the time tag would be done with:
^ \ s * <time. * / time> $
while you use
[\ s \ t] * <time> [^ <] * </time> [^ <] *
\ s should ensure that both spaces and tabs are captured
then I see that you wanted to exclude any internal and external tags with [^ <], but I have not found any gpx exported from locus with these characteristics.
Mine is not a criticism, I'm just trying to understand why you made these choices out of pure curiosity and desire to learn.
#95
Hi,
I found in the locus/data/sensors folder more than 100 small files that contain a single line of text like this:
"SENSORS, VERSION 1.0, 2021-12-08T18: 06: 57.508Z, Central European Standard Time (2.0h)"
they take up little space and are not a big deal, but it seems strange to me.
#96
Contour lines are built into maps, do you need Locus to calculate them for maps that don't have them?
Shading is an added touch that makes maps more readable, but if your intent is to have contour lines choose a map that contains them.
#97
Web portal & sync / Re: Web planner / portal
December 03, 2021, 18:20:46
Quote from: janaton on November 15, 2021, 10:05:09
@lor74cas, @Andrew Heard thank's a lot for the clarification. Now I totally understand and believe I have a good news for you. I am just working on extension of elevation chart. After that you should have distance / time toggle for x axis.
The new version does what I need good job !
Thank you
#98
Troubles & Questions / Re: undo for web planner?
November 27, 2021, 09:18:48
Quote from: Menion on November 27, 2021, 08:59:28
Hello,
not yet implemented. Suggest voting here to increase priority and watch progress.
Does this basic and useful function really needs votes to be implemented?

Inviato dal mio SM-A520F utilizzando Tapatalk

#99
Troubles & Questions / Re: Locus Store
November 27, 2021, 09:15:54
Quote from: Andrew Heard on November 26, 2021, 22:35:02
Quote from: lor74cas on November 20, 2021, 10:11:51
Hello,
today I tried to plan a track with the app but the route excluded the passage on a bridge which has now been reopened, this with LoRouter Offline.
I switched to LoRouter online and the bridge was transitable.
@lor74cas could you have used manual/ direct routing for the section over the bridge?
Sure I can use it, but I know it was open because I personally updated the info on OSM, for this reason I tested the routing on the bridge

Inviato dal mio SM-A520F utilizzando Tapatalk

#100
Troubles & Questions / Re: Locus Store
November 26, 2021, 15:15:38
Quote from: Menion on November 26, 2021, 14:42:23
Hi,
split of LoMaps into some kind of tiles and far from doable, sorry. Anyway routing data are completely independent on the LoMaps. They are in the Locus Store currently under LoMaps as it was the easiest solution. But once you have downloaded any, the best is to use automatic updates and track them separately over settings > Navigation > LoRouter offline > settings button. Here you may set how often will be data updated. 4 days guarantee really small updates (only differences) so it is recommended option.
Thank you

Inviato dal mio SM-A520F utilizzando Tapatalk

#101
Troubles & Questions / Re: Locus Store
November 20, 2021, 10:11:51
Hello,
there are other aspects of the store that need to be improved in my opinion:
today I tried to plan a track with the app but the route excluded the passage on a bridge which has now been reopened, this with LoRouter Offline.
I switched to LoRouter online and the bridge was transitable.
So I went to the store, I only updated the navigation data and now Lorouter Offline also finds the bridge open.
The problem is that there is no notification from locus if the altitude or navigation data is updated, the notification only appears when the map is updated.
The download speed in 4G is really slow despite the little data needed, therefore notification is required, so as to avoid having to do this when perhaps you are in a hurry.
I then wonder if it is possible to divide the map files into tiles, in order to update only those that have been really modified, at least for the LocusMaps. This way your servers would be less busy, as would our smartphones.


#102
Web portal & sync / Re: Web planner / portal
November 14, 2021, 09:11:58
Quote from: Andrew Heard on November 14, 2021, 07:25:52
Quote from: lor74cas on November 13, 2021, 16:37:32
By timestamp I mean that the tracks recorded by gps and imported into the planner have no time references. It is not possible to make simple assessments
@lor74cas - do you mean display of timestamp in the chart popup? RWGPS makes this aspect so easy. Would be great to display the timestamp at any point of the track. +1
Exactly now we have just distance and elevation, we should change then graph to toggle distance/time from start/ time of the day or for each point in the pop up we need the info of timestamp

Inviato dal mio SM-A520F utilizzando Tapatalk

#103
Web portal & sync / Re: Web planner / portal
November 13, 2021, 16:37:32
By timestamp I mean that the tracks recorded by gps and imported into the planner have no time references. It is not possible to make simple assessments, for example: "What time was I on top of the mountain?" Or: "How long did it take me to go up and how long to go down?"
I always prefer to use my pc than my smartphone (although unfortunately they now have huge screens) to check my tracks and it would be very convenient to do so in the planner.
#104
Troubles & Questions / Re: Locus Store
October 31, 2021, 15:49:46
Hello,
today i tried a track/guide of Rother, locus is set in Italian, the excursion is to a place in Italy, but the guide is in German. It would be advisable to filter the contents for the preferred language or for other known languages or it would be enough to put a flag of the available languages in the list of available guides, without having to see it in detail.
#105
Quote from: Andrew Heard on October 30, 2021, 00:11:09
update to 4.4.3.12 on Android 8 appears to perform correctly
On lineage with Android 9 and root I had the same.

Inviato dal mio SM-A520F utilizzando Tapatalk