activityworkshop / GpsPrune

GpsPrune is a map-based application for viewing, editing and converting coordinate data from GPS systems.
GNU General Public License v2.0
72 stars 21 forks source link

possibility to load 2 tracks #28

Open mariush444 opened 4 years ago

mariush444 commented 4 years ago

e.g. one in blue color the second one in red

it is helpfull to compare (not appending them) two trakcs on the map

activityworkshop commented 4 years ago

Load file 1 Load file 2 Settings -> Set colours -> Colourer type = By file, Start colour = blue, End colour = red

mariush444 commented 4 years ago

Load ... Do you mean "load from GPS"? I have gpx files from smartphone so I just copy my gpx files on to PC then I use file->open file. Using this menu I can see only one file at time or I have to append second file to the first one. I don't want to append/merge two files. I would like to compare them, modify (if needed) one of them and export as gpx one (the modified).

activityworkshop commented 4 years ago

Load file means loading it from wherever, either directly from GPS, or importing from GPSBabel or loading a gpx, txt, csv, nmea, kml, kmz file - it's all just "loading a file".

Loading a second file and appending its contents to the current track doesn't modify either of the files, it doesn't merge files or edit files or append files together, it just loads their contents into the current track. Then when you manually create a new point in the track, it doesn't add that point to any of the files, or all of the files, from which the current track data was loaded, it just adds it to the current track.

So I think what you want to do is open file 1, open file 2 and append, somehow edit the track (there are many edit options available), then delete all the points you don't want any more, then export as file 3.

mariush444 commented 4 years ago

OK, I think now I understand the idea. The key is "delete all the points you don't want any more". In case where there are two similar tracks (the 1st one overwrite the 2nd partialy) with planty of points there is diffcult to select not needed points precisely. But I see solution for that. There is menu track->delete point by date. Can you add delete points by tack name? Should I closed this issue and create new one or just continue the issue?

mariush444 commented 4 years ago

I noticed that after export two tracks that were appended during opening, there are exported as two segements so probably I ask not for "deleteing by track name" but for "deleting by segment".

activityworkshop commented 4 years ago

Deleting by segment isn't really the same thing, because maybe the first track has no segments (just waypoints) and maybe the second track has four different segments. So deleting by segment is not the same as deleting all the points which originally came from file 2. Of course, you may not want to delete all the points from file 2, if you moved some of them to become part of track segments together with points from file 1.

Having said that, if you know you want to delete the last segment in the currently loaded data, just go to the end (Ctrl-End), select the segment (Range -> Select current segment), and then delete it (Range -> Delete range).