

  {extends file="main.tpl"}
    <!DOCTYPE head PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head xmlns="http://www.w3.org/1999/xhtml">
  {block name=title}GPSBabel development:Suboptions{/block}
  {block name=body}{literal}
                       
  <div xmlns="http://www.w3.org/1999/xhtml" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Suboptions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Invocation.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Usage</th><td width="20%" align="right"> <a accesskey="n" href="Advanced_Usage.html">Next</a></td></tr></table><hr /></div><div xmlns="http://www.w3.org/1999/xhtml" class="sect1"><div class="titlepage"><div><div><h2 class="title" ><a id="Suboptions"></a>Suboptions</h2></div></div></div><p>
	  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.
	</p><p>
	  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 <a class="xref" href="fmt_kml.html" title="Google Earth (Keyhole) Markup Language (kml)">the section called “Google Earth (Keyhole) Markup Language (kml)”</a>:
	</p><p><strong class="userinput"><code>gpsbabel -i gpx -f file.gpx -o kml,deficon="file://myicon.png",lines=0 -F one.kml -o kml -F two.kml</code></strong></p><p>
	This command will read the GPX file <code class="filename">file.gpx</code>
	and create two KML files.    <code class="filename">one.kml</code> will
	have the given icon and no lines between track and routepoints.
	<code class="filename">two.kml</code> will be created with the defaults used
	in the KML writer.
	</p><p>
	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.
	</p></div><div xmlns="http://www.w3.org/1999/xhtml" class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Invocation.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Usage.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Advanced_Usage.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Invocation </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Advanced Usage</td></tr></table></div>
  
      {/literal}{/block}
  