Author Topic: Re: [APP] - version 3.35.+ ( 7. 12. 2018 )  (Read 13918 times)

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11433
  • Thanked: 315 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #75 on: January 15, 2019, 22:20:33 »
balloni, are you sure that you perfectly understand how presets works?

I'll try it simply:
- every preset has predefined list of supported settings (settings that change)
- by activating preset, all these settings are applied
- ... and that's all

What happens to you is that one preset change these two options "on". And they just stay "on" because of no other preset set it "off".
Better?

Understand your use-case. You need a) create a preset that simply turn any extra settings "off" or b) set these two lines "off" in all other presets. Hm ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11433
  • Thanked: 315 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #76 on: January 16, 2019, 18:09:42 »
New Beta version 3.35.2.6 RC is out.

If you find the time, give a try to improved "search for tracks" and also sorting tracks in the folders.
Hope it will work fine and search time won't be so terrible. Thanks
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline balloni55

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 2519
  • Thanked: 100 times
    • View Profile
  • Device: Motorola G3 MM 6.01
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #77 on: January 16, 2019, 18:52:50 »
Quote
balloni, are you sure that you perfectly understand how presets works?
you described it well :) thanks, but I remember that I also stumbled some time ago :-[

Question,
wouldn´t it be more understandable and simpler for user if there is one "master setting" as a basis for all presets with complete available preset content and user select/deselect/modify each preset?
Locus PRO 3.40.2
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 691
  • Thanked: 24 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #78 on: January 16, 2019, 23:49:26 »
3.35.2.6: Sorting: 157 tracks, sort by Closest, 34s on new tablet. Sort by Distance to Start is <1s but sort by Distance to End is ~10s. On mid range Samsung phone, 173 tracks, sort by Closest 23s, sort by Distance to End 4s. I don't mind because I'd rarely sort by anything but creation date. But more concerning - if currently sorted by Closest, then when display turned off then on again, the sort (Loading...) is performed again. Can this be avoided?

Search in Data Manager: nice feature. It doesn't appear results are in any useful sorted order?
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11433
  • Thanked: 315 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #79 on: January 17, 2019, 07:54:42 »
@balloni55
not sure if "master present" will be more logical to be true. It will still need an explanation. Also, you may simply do such "master preset". I never found an ideal system.

@Andrew Heard
hmm, I've expected shorter times. Most probably your track database is huge.
Good point with repeated sorting after return to list ... I'll look at it, thanks.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline erfi

  • Apprentice of Locus
  • **
  • Posts: 187
  • Thanked: 16 times
    • View Profile
  • Device: HTC One S, Samsung S8
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #80 on: January 17, 2019, 20:40:38 »
3.35.2.6: Route planner don't work correct. I can't choose with a finger tab a visible waypoint to route.
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 691
  • Thanked: 24 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #81 on: January 17, 2019, 23:07:34 »
Most probably your track database is huge.
@menion - ahh yes it's not just searching in current folder. Is there a simple way to check # tracks?
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 584
  • Thanked: 32 times
    • View Profile
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #82 on: January 17, 2019, 23:12:06 »
3.35.2.6: Sorting: 157 tracks, sort by Closest, 34s on new tablet....

My times are massively higher, as I have tons of data from recent years.
Questions to Menion:
- did you introduce the bounding boxes for tracks that we discussed months ago (min/max in each dimension, as part of the track data model) ?
- computing the distance of a point to any bounding box rectangle (representing a track) is a simple formula rather than traversing 1000s of points
- if you then limit the number of items for the result (like your "first 10, 25, 100, ... or so in other places of Locus) the search will be really fast, as you get the right "candidates" cheaply.

Maybe you do such already, but the high amount of tracks is still killing. In particular as there are no restrictions to a folder or so, right ?

TXs and cheers
Michael
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11433
  • Thanked: 315 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #83 on: January 18, 2019, 12:06:44 »
@erfi
thanks, I'll look at it.

@Andrew Heard
search in the current folder is currently not possible

@michaelbechtold
no, nothing like this is done. It was the first quick attempt which gave for me 300 MB database times below 10 seconds. Interesting that your times are so much higher. Maybe database handling in Android 9 is so much faster? Anyway as I do it now, seems this is not the correct way. Other possibilities require an update in the database and a lot more work. Hmm, shame ...
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: michaelbechtold

Offline tapio

  • Padavan of Locus
  • ***
  • Posts: 466
  • Thanked: 37 times
    • View Profile
  • Device: Huawei Mate 20 X
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #84 on: January 20, 2019, 11:21:38 »
Half related: I have never exactly looked at it - Does Locus ever do database compacting or will it stay bloated, if, say, I delete all entries?
My BRouter profiles, based on Poutnikls: https://tiny.cc/brouterbrf
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 584
  • Thanked: 32 times
    • View Profile
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #85 on: January 20, 2019, 20:59:17 »
PS: even if compressed: my tracks-DB is 800 MB meanwhile. So I'd prefer to have a read-only version (with older data, or whatever selection criteria) on external SD, while the "active" tracks-DB would stay where it is.
This would imply that there is a Locus copy job from the active to the secondary one.
Any thoughts ?
TXs and cheers
Michael
 

Offline Andrew Heard

  • Master of Locus
  • ****
  • Posts: 691
  • Thanked: 24 times
    • View Profile
  • Device: Samsung Galaxy A5 Oreo/8, Lenovo Note 4 Nougat/7.1
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #86 on: January 21, 2019, 00:25:14 »
search in the current folder is currently not possible
@menion - I think this is where there is confusion for the user (or at least me) - a simple sort is performed purely within the current folder, but your new advanced sorting methods are across all folders. I can appreciate it will take a lot of time to sort all tracks across all folders, something not possible before now, but the user shouldn't have to incur this time cost if the current folder only has a smaller number of tracks.
 
The following users thanked this post: tapio

Offline lor74cas

  • Padavan of Locus
  • ***
  • Posts: 264
  • Thanked: 17 times
    • View Profile
  • Device: Samsung A5 2017
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #87 on: January 21, 2019, 09:10:53 »
search in the current folder is currently not possible
@menion - I think this is where there is confusion for the user (or at least me) - a simple sort is performed purely within the current folder, but your new advanced sorting methods are across all folders. I can appreciate it will take a lot of time to sort all tracks across all folders, something not possible before now, but the user shouldn't have to incur this time cost if the current folder only has a smaller number of tracks.
In folders there is:
sort for current folder
filter for current folder

In / of data manager there is a filter for all track folders

In this way you can filter all folders or one folder, slow or quick but all depends on how many tracks do you have in the folder.
 

Offline tapio

  • Padavan of Locus
  • ***
  • Posts: 466
  • Thanked: 37 times
    • View Profile
  • Device: Huawei Mate 20 X
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #88 on: January 21, 2019, 13:48:09 »
Oh, seems like Menion has got a lot of work to do.  :D Both on database side and UI. E.g., as for the UI, as a user I espect searching for tracks/points to (also) be accessible via the data manager - not necessarily I go to the general search page, where it currently resides.

So does Locus do database maintainance? Like, compacting?
« Last Edit: January 21, 2019, 13:50:32 by tapio »
My BRouter profiles, based on Poutnikls: https://tiny.cc/brouterbrf
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11433
  • Thanked: 315 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [APP] - version 3.35.+ ( 7. 12. 2018 )
« Reply #89 on: January 22, 2019, 10:07:35 »
New version with search V2 in preparation, give me day or two, thanks :).

And @tapio, no, no optimization on the database is done in app. SQLite re-use empty spaces in DB after removing content, so some kind of "VACUUM" should not be needed. I have tested it on my maybe 5 year old DB and the result was > size reduced from 250 MB to 240 MB and DB benchmark: no result.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 
The following users thanked this post: tapio