wbt -> gpx waypoints not in track?

View: New views
6 Messages — Rating Filter:   Alert me  

wbt -> gpx waypoints not in track?

by furti-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello List,

I have a problem where I don't know if I expect the wrong thing or if  
it's a bug:

When downloading data from my wbt-201 to a gpx file the waypoints are  
not attached to the tracks but standing alone before the tracks in the  
gpx file.

Then I try to split the file by timestamp (I find the timestap by  
script an then run the trackfilter with start,stop as a workaround to  
the missing splitbytrack feature) ... but then each new split file  
gets _all_ waypoints attached, also these not in the expected  
start/stop range...

Is this behavior expected or did I discover a bug?

Thanks,
bernhard

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: wbt -> gpx waypoints not in track?

by Robert Lipe-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tracks consist of trackpoints, not waypoints.   Waypoints are different and represented as such in GPX and most other formats.

The track filter works on tracks; it does not filter waypoints.

RJL

On Sun, Oct 18, 2009 at 2:17 AM, <furti@...> wrote:
Hello List,

I have a problem where I don't know if I expect the wrong thing or if
it's a bug:

When downloading data from my wbt-201 to a gpx file the waypoints are
not attached to the tracks but standing alone before the tracks in the
gpx file.

Then I try to split the file by timestamp (I find the timestap by
script an then run the trackfilter with start,stop as a workaround to
the missing splitbytrack feature) ... but then each new split file
gets _all_ waypoints attached, also these not in the expected
start/stop range...

Is this behavior expected or did I discover a bug?

Thanks,
bernhard

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: wbt -> gpx waypoints not in track?

by RsH-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 18 Oct 2009 09:17:29 +0200, you wrote:

>Hello List,
>
>I have a problem where I don't know if I expect the wrong thing or if  
>it's a bug:
>
>When downloading data from my wbt-201 to a gpx file the waypoints are  
>not attached to the tracks but standing alone before the tracks in the  
>gpx file.
>
>Then I try to split the file by timestamp (I find the timestap by  
>script an then run the trackfilter with start,stop as a workaround to  
>the missing splitbytrack feature) ... but then each new split file  
>gets _all_ waypoints attached, also these not in the expected  
>start/stop range...
>
>Is this behavior expected or did I discover a bug?
>
>Thanks,
>bernhard

This is expected behaviour. After the files are split, which is
relatively easy to do in a program such as routeconverter, where it
loads the whole file and shows the splits as separate sub-files, you
can then save each sub-file as its own file, and then from that file
delete the waypoints that do not apply to that file, so you end up
with the waypoints and tracks as separate files, as well as the
route as a third file if you so choose.

RsH
=======================================================
R. S. (Bob) Heuman  <robert.heuman@...>          
Copyright retained.      My opinions - no one else's...
   If this is illegal where you are, do not read it!

  Retention of this message in violation of Canadian
         Privacy Laws will be prosecuted.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: wbt -> gpx waypoints not in track?

by Tom Paton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

As mentioned, this is the correct/expected behaviour of gpsbabel as it
treats tracks and waypoints as different things.

However, you do have a couple of options:

1. Discard the waypoints using the -x nuketypes,waypoints filter. This
will stop them from appearing in your filtered output.
http://www.gpsbabel.org/htmldoc-1.3.6/filter_nuketypes.html

2. Convert the waypoints to track points using the -x
transform,trk=wpt,del filter. This will let the waypoints be filtered
as if they were track points (i.e. the start/stop options will work.)
You'll need the del flag as otherwise the waypoints will still come
through, and you may also need to use the -x track,merge if some
waypoints have timestamps that are the same as some track points.
http://www.gpsbabel.org/htmldoc-1.3.6/filter_transform.html

Kind regards,

Tom Paton
http://gpsloglabs.com/


On Tue, Oct 20, 2009 at 7:07 AM, RsH <robert.heuman@...> wrote:

> On Sun, 18 Oct 2009 09:17:29 +0200, you wrote:
>
>>Hello List,
>>
>>I have a problem where I don't know if I expect the wrong thing or if
>>it's a bug:
>>
>>When downloading data from my wbt-201 to a gpx file the waypoints are
>>not attached to the tracks but standing alone before the tracks in the
>>gpx file.
>>
>>Then I try to split the file by timestamp (I find the timestap by
>>script an then run the trackfilter with start,stop as a workaround to
>>the missing splitbytrack feature) ... but then each new split file
>>gets _all_ waypoints attached, also these not in the expected
>>start/stop range...
>>
>>Is this behavior expected or did I discover a bug?
>>
>>Thanks,
>>bernhard
>
> This is expected behaviour. After the files are split, which is
> relatively easy to do in a program such as routeconverter, where it
> loads the whole file and shows the splits as separate sub-files, you
> can then save each sub-file as its own file, and then from that file
> delete the waypoints that do not apply to that file, so you end up
> with the waypoints and tracks as separate files, as well as the
> route as a third file if you so choose.
>
> RsH
> =======================================================
> R. S. (Bob) Heuman  <robert.heuman@...>
> Copyright retained.      My opinions - no one else's...
>   If this is illegal where you are, do not read it!
>
>  Retention of this message in violation of Canadian
>         Privacy Laws will be prosecuted.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gpsbabel-misc mailing list http://www.gpsbabel.org
> Gpsbabel-misc@...
> To unsubscribe, change list options, or see archives, visit:
> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

Re: wbt -> gpx waypoints not in track?

by furti-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Tom gave my the hints I needed, and corresponding to the old unix  
style (do not much but that right) of gpsbabel I could get in the end  
what I expected.

> As mentioned, this is the correct/expected behaviour of gpsbabel as it
> treats tracks and waypoints as different things.
>
> However, you do have a couple of options:
>
> 1. Discard the waypoints using the -x nuketypes,waypoints filter. This
> will stop them from appearing in your filtered output.
> http://www.gpsbabel.org/htmldoc-1.3.6/filter_nuketypes.html
>
> 2. Convert the waypoints to track points using the -x
> transform,trk=wpt,del filter. This will let the waypoints be filtered
> as if they were track points (i.e. the start/stop options will work.)
> You'll need the del flag as otherwise the waypoints will still come
> through, and you may also need to use the -x track,merge if some
> waypoints have timestamps that are the same as some track points.
> http://www.gpsbabel.org/htmldoc-1.3.6/filter_transform.html

With these tips I set up following work flow with a perlskript(to find
the right time cut-points)
gpx +-> trk --> split,time 1,2,3 ---------> merge 1,2,3,..--> gpx 1,2,3
1.  |2.               4.                      ^ 7.
     |      3.           5.           6.       |
     +-> wpt>trk --> split,time -> trk>wpt ----+

just to clarify:
1. starting with a file which contains multiple tracks and waypoint.
2. "splice" into 2 files: tracks and waypoints only
3. convert waypoints to track
4. split original tracks by time
5. split tracks derived from waypoints by time
6. convert tracks to waypoints (discarding tracks)
7. merging waypoint files an track files again

done :)

Thanks for clarifications and hints,
bernhard

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

drop file, output to same directory??

by Ross Dillon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In Windows, I had a shortcut that I could drop a CSV-formatted input file onto and it would create the NMEA output file in the same directory as the input file.  The command line for that in DOS was:

gpsbabel.exe -p "" -t -i unicsv -f %1 -o nmea -F "%~dpn1".gps

I have no idea how to do this in OSX.  

Another gentleman has been patiently helping me with developing a script in Platypus but it isn't working...no files are created.  His script reads:  
--------------------
#!/bin/bash

# store a reference to GPSBabel
gpsbabel="$1/Contents/Resources/gpsbabel"

# shift the program arguments
shift

while [ $# -gt 1 ]
do
    # fill the infile variable
    infile="${1}"

    # generate a basic filename, remove the shortest part after a dot.
    outfile="${infile%.*}

    # call gpsbabel
    "$gpsbabel" -t -i nmea -f "$infile" -o gpx -F "$outfile.gpx" -o kml "$outfile.kml"
    
    # shift to the next input file
    shift
done #
------------------------------
The new GPS Babel website has the following command line in a script for converting files...but it requires the output file to be defined in advance.  While do-able, it's inconvenient.  I'd prefer the above option
"/path/to/your/gpsbabel -i " & inputTYPE & " -f " & inputPATH & " -o " & outputTYPE & " -F " & outputPATH
Any ideas for be gratefully accepted
(Let me reiterate...I'm a newb at Macs so don't assume to much skill on my part)
Thanks!


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@...
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc