This object is in archive! 

sorting tracks by distance from my actual position

Rainer shared this idea 11 years ago
Completed

Hi


it would be nice to sort my tracks by distance like i can do this with my Pois. It would be ok to take the nearest point of my track to calculate the distance to the whole track from my actual position.


This would be neccesary if i am in a unknown region at holiday and i want to hike a little bit. It would be easy to sort by distance.


Thanks


Rainer

Replies (39)

photo
0

Hi,


i`ve seen this in the app ADAC Wanderführer. It`s very nice to see where are the nearest tracks from my actual position or from the center of the map.


This would be very nice to organize the tracks.


Rainer

photo
0

I would really like this feature also. I often import a lot of tracks from online sources for snowmobile trails. To enable all the tracks causes Locus to become very slow and sometimes usable. If I could sort by distance I would only enable the first 100 tracks or so which would cover the area I am in. Please add this option.

photo
0

hm


and what is the nearest trackpoint?


Start, End or Any point of the track?

photo
0

+1


I would suggest any point of the track.

photo
0

Yes, any point of the track would work. Boy would this option really save me a lot of time in effort preparing (reducing/cropping) track imports. I could import an entire state and with this option only select the ones that are within a certain distance so Locus does not have to display too many tracks at once.

photo
0

Yes this option would save a lot of time and battery power. I have the Galaxy S3. After I imported 120 Tracks (e.g. from Bayernnetz Radwanderwege) my phone will become very slow. Even if i show only a small part from the map!

photo
0

This reply was created from a merged topic originally titled


<a class="notranslate" href="http://getsatisfaction.com/locus/topics/please_sort_my_tracks_by_distance_from_my_actually_position" rel="nofollow" target="_blank">please sort my tracks by distance from my actually position</a>.


please sort my tracks by distance from my actual position

photo
0

Scenario:


A huge MTB area with hundreds of mtbtracks.


some trackpoits pass my position


some track starts near my position


some track end are near me


and we have circular routes


But which one is the "NEAREST" Track(!) now?


"Near track" is relatively in this case


So we need three additional filter options.


search for all points -> brings a lot of wrong results


search only start points


search only end points (to start the track reversed)

photo
0

I think the easiest way is to sort by the start-point.


I have also a Garmin GPS-Map 62s. All tracks a sorted by distance from my actual position. I don`t know which point is used to calculate the distance, but it works very fine.


My garmin is used for biking, but its too big to use it for hiking. Thats why i love locus. Having a great app for my galaxy S3!!!


A view words why its necessary to sort by distance.


Scenario:


I have a lot of tracks from the whole country of germany. I sorted it in different folders. But its not enough. Each folder has about hundreds of tracks. Now if I want to see where is a track near of me i could hike I must make all visible.

photo
0

Boy would it rock if Locus could simply DYNAMICALLY display all starting points of all tracks in all folders as an (optional) layer on the map. Without me having to sort anything or to enable/disable anything or to click anything or dig around in databases or care about scary filters or whatever. It could work a bit like in the gpsies app, if you know what I mean.


All track portals do it, why cant Locus?

photo
0

joeloc wrote..why cant Locus?


not enough votes?


not enough comments?


not enough participation?


:)


let`s talk about

photo
0

I think that we must not have too much claims.


This is not a software that costs hundreds of dollars for each of us!


I would be happy if i can sort the tracks in a folder by distance to the start point and if is not too much programming work for you, also by distance to the endpoint of a track.


Greetings from Germany/Bavaria

photo
0

yes! I was also thinking about ask for this feature.

photo
0

is that really enough?


->


photo
0

I think the main problem is:


not enough "menions" to make all our dreams about Locus come true :)

photo
0

Yes, because its not so often that there are too many tracks in a small area


I would be satisfied. And I think others too!


Rainer

photo
0

I will tell you why it is important for me.


My main purpose of track recording was to see where I was and what path I took to have a chance to recreate the trip in the future or to take a totally different way on purpose. Now I have hundreds of tracks. It happens that Im coming back to remote places where I was a few years before. So I want to see where exactly I have been. Here I need to search for the recorded track using only date and/or name of track. Basically I`m guessing, and everything depends on how accurate I was when I was naming a track or remembering when I recorded it.


With sorting tracks with distance to my position/screen centre, it would be much easier to find all tracks which were recorded in a particular area.


Other situations are happening even more often. Many times Im in a place where I was multiple times, so I want to check which way I still didn`t follow in a past. I would like use this feature to find all tracks which are crossing the area Im in.


The perfect approach would be to measure distance to the closest point of each track in a database. That would be much more informant than just measure distance to start or end point of each track, because some tracks are long, and start/end points can be separated by hundreds of kilometers so sorting by them can be meaningless.


As a developer I can see how hard this task can be, because of all this for loops iterating through all points in all tracks:/ Maybe from each track a few/tens/hundreds of points should be taken, and their average calculated to roughtly calculate its central point?

photo
0

I think the same! Its better to sort by the distance from center or my position to nearest point of a track.


But I understood that is not so easy to realize this.


That`s why I said. It`s better to sort by distance to start or endpoint than nothing! :)

photo
0

uff, so sorting by first point of track is done. It wasn`t so hard without database change.


Sorting by end point will be worst, sorting by nearest point in current situation almost impossible. Anyway first small step for a human ... :)

photo
0

,)

photo
0

This is a VERY welcome feature! When will it hit general release?

photo
0

uff done also sorting by last point. It`s much worst request on track database. As I wrote, I`m testing it on one users database with more then million points and around 300 tracks (file has around 120MB) and display folder with 90 tracks is immediately as now, but sorting by start point took 2 secs, by last point 8 secs. So count with it ...


planned release is probably somewhere in second half of July

photo
0

thank you very much!

photo
0

This will be probably nice feature, but I just realised something.


You can sort and see tracks only in one folder at once. But what if you want to see tracks from all categories, because you don`t know in what folder were the relevant track(s)? You will have to get to every "suspected" folder, sort it there, and see if there is any track which is relevant to your area. Am I right?

photo
0

NO i don`t think so!


The reason too make folders for your tracks is to presort them!


One folder for each category


Hiking bavarian


hiking Franken


hiking....


mountainbike fränkische


mountainbike bamberg


roundtrip bike bavarian


roundrip...


you see: it`s better to search in ONE folder, only get the tracks for what you want to do in the moment. (Hiking, roundtrips, maountainbikeand so on)

photo
0

-1 :)


Because i don`t want to search in all tracks.


I have well-structured folders.

photo
0

What if you don`t remember if you were using car or bus at that track? Or you don`t remember if you were on foot or on bike? What if you didn`t save the track in any category and it is in "Recorded", or by accident you put it in a wrong one? Or (this is my own, problematic case) you are constantly using combined transport (like train+bike, car+foot ... - for each combination I have a separate category), you can`t be sure if the track you are looking for was in a Car, or Car+Foot.

photo
0

I understand you guys. This topic is about sorting a tracks, so that`s why I created this topic:


https://getsatisfaction.com/locus/top...


Please help me there gynta and Rainer.

photo
0

Really like this new feature but I need to be able select more then the first 100 tracks after sorting.Sure wish there was a "select next 50 tracks" option so we could select in increments of 50...

photo
0

hmm and what about ability to select first: 25, 50, 100, 150, 200? It will be simply to improve

photo
0

Hi. I was thinking about writing about this long time ago.


As for me, there should be also an option to write by hand the number. Because sometimes I just want to check 15 points. Too many for manual clicking, to little for selecting first 50.


Another idea would be to add a slider, or a spinbox with incremental values 5,10,15,20 and so on.

photo
0

I wish we could select beyond 200 tracks. Still think the option to enter a number would be great but if not maybe extend it up to 500?

photo
1

The topic is completed. And now? Is this function implemented? How can I use it?

photo
1

eg rtfm ?


http://docs.locusmap.eu/doku.php?id=manual:user_guide:tracks:management#tracks_list_bottom_panel

fetch Sort by button:

  • Sort by name - sorts tracks alphabetically
  • Distance to start - sorts tracks by distance from actual map screen center (actual GPS position in case it is fixed and centered) to the starting point of the track
  • Distance to end - sorts tracks by distance from actual map screen center (actual GPS position in case it is fixed and centered) to the ending point of the track
  • Sort by creation date - sorts tracks by the date/time of their recording/import or drawing in case of routes
  • Sort by length - sorts tracks by the distance from their starting to ending points
  • Sort by number of trackpoints - each track is a chain of trackpoints, this sorts them by their number
  • Sort by travel time - sorts by the time of activity made on track
  • Reverse sorting - switches sorting into reverse mode

photo
1

Thank you, but this is not so helpful for me.

I would need the function written in the headline by Rainer, to sort, search or select tracks near to my actual position.

Following situation: I am somewhere in the forest by bike, I have been there before (so I have the track, but where?) but dont remember the right way, so I would use the function to search the track(s) next to my position.

So, what i have to do? Start a new topic?

greets, Ronny

photo
1

Hello Ronny

This topic: "it would be nice to sort my tracks by distance like i can do this with my Pois"

Your topic: "search or select tracks near to my actual position"

So you have to use the "search function":

search -> search in track -> no search text -> check "points arround" -> gps -> tap magnifier-> choose your track

photo
1

Hi gynta,


the problem is the sorting is only "distance to start/end". The most of my tracks starting at the same point, so this is not helpful. I need to sort by the nearest point of all tracks (any point, not start or end - its maybe hard to check I think) to my position (or map center).

Or a function which selects all tracks that pass through the actual map window.


Ronny

photo
1

understand


So please read whole thread here, vote and wait for good developer mood.

photo
1

of course I read the thread already, I vote and I hope

.

I dont understand this (belongs to locus?): https://getsatisfaction.com/locus/topics/search_for_in_tracks_and_pois_which_are_within_this_screen

Ronny

Replies have been locked on this page!