Magellan DirectRoute 3.0 Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 130
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 17
Us-
age
3
useful if you're writing to a target format that isn't the lowest common denominator but the source data
was written for the lowest common denominator. I use this for writing data from geocaching.com to my
Magellan so my waypoints have "real" names instead of the 'GC1234' ones that are optimized for NMEA-
only receivers. A geocacher with a Magellan receiver may thus find commands like this useful.
gpsbabel -s -i geo -f geocaching.loc -o magellan -F /dev/ttyS0
gpsbabel -s -i geo -f geocaching.loc -o magellan -F com1
Suboptions
Many of the available format options in GPSBabel can themselves take options. While we try to make
all the formats do the most sensible thing possible without any extra options; this allows great power and
flexibility in the operation of the program.
Suboptions are comma separated and immediately follow the option itself. The available suboptions are
listed on the individual format pages. We'll make an example from the section called “Google Earth (Key-
hole) Markup Language (kml)”:
gpsbabel -i gpx -f file.gpx -o kml,deficon="file://myicon.png",lines=0
-F one.kml -o kml -F two.kml
This command will read the GPX file file.gpx and create two KML files. one.kml will have the
given icon and no lines between track and routepoints. two.kml will be created with the defaults used
in the KML writer.
Suboptions for the various formats allow you to change serial speeds, pass arguments to filters, change the
type of file written, override icon defaults, and lots of other things. The suboptions for each filetype are
documented on the page in this document that describes the option itself.
Advanced Usage
Argument are processed in the order they appear on the command line and are translated internally into a
pipeline that data flows through when executed. Normally one would:
read from one input
optionally apply filters
write into one output
but GPSBabel is flexible enough to allow more complicated operations such as reading from several files
(potentially of different types), applying a filter, reading more data, then write the merged data to multiple
destinations.
The input file type remains unchanged until a new -i argument is seen. Files are read in the order they
appear. So you could merge three input files into one output file with:
gpsbabel -i geo -f 1.loc -f 2.loc -f 3.loc -o geo -F big.loc
You can merge files of different types:
Vista de pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 129 130

Comentarios a estos manuales

Sin comentarios