Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-07-2013, 13:56   #1
Registered User

Join Date: Feb 2011
Posts: 242
How to trim a saved track?

One of the surprise (to me) features of OCPN is that you can look back at your travel times and average SOG for any leg. However, there are usually periods where you're waiting for something, or dropping anchor, or otherwise not moving. Sure, you could stop your track while underway if you had extra crew. But I'm busy enough with sailing.

Learning the boat, and new sails, it would be nice to have a way to catalog how things perform. Something short of the threads on creating polars.

Is there an easy way to trim off parts of the journey? I've thought you could export the track, trim off parts, and reimport. But that is a lot of work.

Is there a plug in for doing something like this?
__________________

__________________
dave777 is offline   Reply With Quote
Old 08-07-2013, 14:57   #2
Registered User

Join Date: Feb 2010
Posts: 619
Re: How to trim a saved track?

You will find some help from the Split Track function, available on the Track Properties dialog. For example, you can find the tail part of the track, select a trackpoint where the speed is close to 0 afterwards, split and discard the unwanted part.

Optional Automatic Daily Track function, if selected, stores tracks split at every midnight.

Still, some work is required to keep the track names in order, etc. It works well enough if one keeps the track recording (and the PC) always on. It is more difficult to manage track records if the PC is switched on and off underway (e.g. to save power).
Attached Thumbnails
Click image for larger version

Name:	split_track.jpg
Views:	57
Size:	177.8 KB
ID:	63797  
__________________

__________________
PjotrC is offline   Reply With Quote
Old 09-07-2013, 12:50   #3
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: How to trim a saved track?

dave777..

You can also use this handy utility,GPX Editor... (Download here)

https://drive.google.com/folderview?...jA&usp=sharing

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 09-07-2013, 19:17   #4
Registered User

Join Date: Feb 2011
Posts: 242
Re: How to trim a saved track?

Thanks PJ and Tore.

Maybe there is an idea here for a new Track Review plug in:

The user could slide a starting point, and and ending point along their active track, defaulting to the entire track, and the selected region highlighted.

A little window would update starts on the segment - starting time, distance, average speed, max speed, min speed, ending time, duration.

This might be usable duration a journey as well.
__________________
dave777 is offline   Reply With Quote
Old 18-07-2013, 05:44   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: How to trim a saved track?

Dave, perhaps you should add this suggestion to flyspray, so the idea is not lost.
I also assume it would provide ease in deleting sections of a track.
__________________
rgleason is online now   Reply With Quote
Old 18-07-2013, 13:13   #6
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 233
Re: How to trim a saved track?

Hi guys,
the only 2 things I'm really missing are 2 buttons in the track window shown in post #2 :
1) delete whole track
2) delete selected lines

ad 1) I always record my tracks, and sailing the same spots, it gets a bit "crowded" on the chart. So being sure to delete the right track, you have to double-click and open it anyway the reassure the date.
Then you close it and ... oops which one was open ? the left or the right one ? Then I zoom in to the max and do the whole procedure again ...
So why not put a button in there : "delete track".

ad2) since we have the new NMEA interfacing, sometimes my GPS fails (or the connection gets lost for one or 2 seconds) and I have a straight line pointing from my current position to N 0°00' E0°00' and back, which corrupts the whole track. This also happens when you accidently turn on O (track on) and the GPS is still off.
Currently I'm splitting tracks, before and aft these "bad spots", delete those sections and rejoin the whole stuff ... Not really easy, despite the fact that I simply can't remember if the split is done before or after the selected line.
Every time the same thing, my brain simply denies to remember ... :-(
So deleting selected lines out of a track would be really helpful.

Thomas
__________________
tom_BigSpeedy is offline   Reply With Quote
Old 19-07-2013, 02:44   #7
Registered User

Join Date: Feb 2010
Posts: 619
Re: How to trim a saved track?

Quote:
Originally Posted by tom_BigSpeedy View Post
I simply can't remember if the split is done before or after the selected line.
Every time the same thing, my brain simply denies to remember ... :-(
The point of split is included in both parts after the split - as terminating point in one, and starting point in the other.

With the track-to-be-deleted open in the Properties Dialog, it should be sufficient to set its name to e.g. DELETED, and then to use the Route Manager accordingly...

What I am missing is the ability to open the waypoint properties dialog on a selected trackpoint to annotate it with a name and a different icon.
__________________
PjotrC is offline   Reply With Quote
Old 19-07-2013, 08:18   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,414
Re: How to trim a saved track?

This dialogue is good, but it should be compiled and put in Flyspray as a request. Anyone volunteer to do this?
__________________

__________________
rgleason is online now   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:04.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.