> Call me stupid, but I can not figure out how to have gpsbabel dump
> it's output to stdout so I can pipe it on. I had assumed leaving out
> the -f flags should have done it (for input as well)
GPSBabel supports the traditional "-" for standard input and standard
output for almost every format. I think some of the Palm formats do
some lseeking that makes them not work well in pipes, but the huge
majority of the formats do work just fine this way:
$ echo "35.123, -86.234, blah" | gpsbabel -i csv -f - -o gpsutil -F -
blah 3507.380N 08614.040W 0000000m blah a
Recently on this very list, we discussed a technique that used pipes:
The exceptions that come to mind as not working well fall into two classes:
1) Formats that require more than one "file" per file like Shape and ozi.
2) Formats that seek around the I/O streams like mapsource, saroute, most
of the Palm/OS pdb formats.
> Found nothing in the docs and when reading the archives I got the
> feeling piping is not only not possible, it's also not wanted to
> prevent 'inclusion' gpsbabel into other SW?
I'm not sure where that's coming from. GPSBabel was, from the
onset, pretty much designed to be a "behind the scenes" worker for
domain-specific programs. is certainly included with a number of other
programs. That's one reason I chose the GPL. If you extend GPSBabel (a
shared work built by me and others) and distribute that work, you have
to share the source.