Search for in tracks and POIs which are within "This screen"

elmuSSo shared this idea 11 years ago
In Progress

My idea is to add a new positions to Search.


SEARCH IN OFFLINE POI


In current screen/view


SEARCH IN TRACKS


In current screen/view


Explanation: Many times there was a need to only see tracks and POIs for a particular area. So current screen bounds would be perfect to limit the area of searching for these tracks and points.

Replies (17)

photo
0

I think this could be very useful

photo
0

Thanks:))

photo
2

Yes, very similar to sorting tracks by distance but actually more useful. I often have the same challenge that i have a ton of tracks (imported) but only want to see those for a particular area. Sorting by distance should work but If could enable all tracks that are within viewing area of the screen that would be ideal. I like this idea!!

photo
0

Thank you:)

photo
0

Small addition to this idea: Manually defining an area of search would be great, you would be able to reuse you Manual track drawing components.

photo
1

Sorry, is it possible to search tracks the same way you can do with pois?

It could be useful enough.

photo
1

This feature is not yet possible. You may vote for it here http://help.locusmap.eu/responses/extend_search_feature_to_tracks

photo
1

Menion, does that mean it's impossible for tracks only, but possible for POIs? That's sufficient for me.

photo
1

Nono, sorry for confusing. I was reacting on previous @Lucio Dal Pan post. He wanted to search for tracks in same way as for points.


Searching for items visible on current screen is doable for points and even for tracks I believe.

photo
2

Hi Menion,

Actually I can't see a real difference between elmuSSo suggestion an mine in post that you linked above.

Maybe I'm wrong, but there is NO way to search in tracks (except sorting folder by folder, that is not "search"): neither by name, neither by text, or for coordinates...

If you told me I'm wrong, I could be happy: yuppee! I've got 3, 2, 1 method(s) to search tracks! :-D

photo
1

Difference is that you want to search for tracks. ElmuSSo wants to search for tracks, but only in currently visible area (or defined area). I pointed you on a topic, where is exactly what you need - general searching for tracks.


And yes, it's currently not yet possible in Locus.

photo
1

Oh, that's why I'm sooooo sad! :-)


Apart from jokes, Menion, please read again what I wrote there: http://help.locusmap.eu/responses/extend_search_feature_to_tracks.

I referred to that post.


Difference is between "around the center" and "in current screen/view": not so relevant.


After all, point is that we need some way to find tracks.


Please, I'd like to know why search in tracks is not possible. I'm not so skilled, but I took a look inside database: tracks table is very similar to waypoints table, so I can't understand why don't extend to tracks the same search capabilities that are allowed for POIs offline.


Thank you a lot for your job and your attention.

photo
2

I never said, search for tracks is not possible.


It's just because there were not too big pressure on me, I personally never needed this feature and no topic with high amount of votes exists (9 in this case isn't so good).


Anyway we currently plan some improvements (again after two years) in database structure, so it will be possible in a lot easier way in future.

photo
1

Are 18 votes enough to do something in that direction? :-)

photo
1

Ronny, sometimes even a 130 votes isn't enough. We take votes here mainly as recommendation what users wants.


Problem with better searching is mainly how database for points and tracks were made few years ago. It's not perfectly optimized for geolocalized (by coordinates or area) searching so work on this task isn't just few hours, but to make it usable, it's task on quite a few days.


So for now, it's not planned, sorry.

photo
photo
1

Ok, thank you so far. Its not the end of the world...


Maybe I do some promotion... ;-)

photo
1

For me it's end of the world :) I can't find track going through a given area to repeat the track on a bike. In searching I'm getting hundreds of tracks that are nearest from STARTING PONT and not going through showed place.

photo
1

Hi Menion,

it is easy to to build rectangular bounding boxes for any existing track. Either when storing a new track, on the fly, or as a one time process to deal with the past.

Once you have those bounding boxes, it is easy to identify all bounding boxes (i.e. tracks) that overlap to any extent with the box that represents the current screen.

The underlying challenge is to deal with a change of a data model for the tracks DB, but one day or another that comes anyway. Well, it happened mid 2016 already, I just saw in my large tracks.db. You stopped using start_time, and started to use time_created. And seem to be nearly 20 DB columns that have not been in use since 2016. So you could re-use some of them to store the bounding box :-)

Good luck and kind regards

Michael

photo
2

Hi Menion, with mayn users using Locus for years now, the amount of tracks is overwhelming. And there is no foldering or any other means that properly shows you near tracks.

If you do this on the fly (for each track do a DB search for min/max LON/LAT value of points, you'd not even touch the DB model, making thsi trivial to implement.

Search time may be long, but still much quicker than manual search and swearing all the time ...

Cheers

Michael

photo
1

Good day Michael,

understand. Did you try an already existing search? It may be enough in most cases.

In search screen > search in tracks > just check "Track around" and without entering text, press "search button". This search is based on distance from start and end points to predefined "tracks around" location.

photo
1

Good morning Menion,

Start and end points are often far away from the interesting area. So you get 100s of useless results. and they are not "around" ...

So the existing functionality does not help. But you pointed to exactly the place where the amended feature would be used. In fact it's just a refinement of the "around" function, or an addition, as you prefer.

photo
1

Actually this search was new for me but it works great. From home I do a normal search (with Bing :) ) In this example the city of Liberec.

Next I search in tracks (around Map Center) with an empty search field and the image attached shows exactly what I expected.

The given distance is to the startpoint of the track.

photo
1

Start point of track is a nice and working feature, but it is misleading in many situations (see above).

photo
photo
1

Good day guys,

hopefully good news.

I've (in next version 3.36+)

  1. improved current "search in tracks" and option "track around" should now return a lot better results. Search is based on detection of defined base location vs line "start point -> end point"
  2. added option to search for tracks really precisely. This compare base location with fully loaded track geometry (no simplification), so results should be precise. This method is anyway based on my tests, around 10x slower then method no. 1, so test is and let me know.

Current UI:


/79080c0faf494f3742198136684e6905

photo
1

Super 👍

And next step, searching in specific folder. E.g I have more folders in Locus, named by aaa bbb ccc .... And I want search track only in bbb folder, not in aaa or ccc

photo
Leave a Comment
 
Attach a file