v.out.gps.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <h2>DESCRIPTION</h2>
  2. <em>v.out.gps</em> allows the user to export waypoint, route, and track
  3. data from a vector map into a locally connected GPS receiver or as a file in
  4. many common GPS data formats. Translation is done via the
  5. <em><a href="http://www.gpsbabel.org">GPSBabel</a></em> program.
  6. <p>Do not use as a primary means of navigation.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License (GPL) for more details.
  11. <h2>NOTES</h2>
  12. <em>v.out.gps</em> automatically reprojects data from the
  13. projection settings of the current location to Lat/Lon WGS84.
  14. <p>GPX format is used for data interchange between GRASS and GpsBabel.
  15. If the requested output is GPX, then <tt>gpsbabel</tt> is never run.
  16. <p>OGR's GPX driver knows a number of standard field names. If an attribute
  17. column matches the name it will be used in that field. Otherwise the
  18. attribute will be placed within the <tt>&lt;extensions&gt;</tt> metadata
  19. section of the record. Not all fields names are used with all feature
  20. types (e.g. DOP fix error is not meaningful for route lines). You can
  21. use the <em>v.db.renamecolumn</em> module to rename columns.
  22. <p>These are the standard GPX data fields known to OGR:
  23. <div class="code"><pre>
  24. ageofdgpsdata
  25. cmt: Comment
  26. course
  27. desc
  28. dgpsid: DGPS station type
  29. ele: Elevation
  30. fix
  31. geoidheight
  32. hdop: Horizontal dillution of precision (estimated fix error)
  33. magvar: Magnetic variation
  34. name
  35. number
  36. pdop: Positional dillution of precision (estimated fix error)
  37. route_fid
  38. route_point_id
  39. sat
  40. speed
  41. src
  42. sym
  43. time
  44. track_fid
  45. track_seg_id
  46. track_seg_point_id
  47. type
  48. url
  49. urlname
  50. vdop: Vertical dillution of precision (estimated fix error)
  51. </pre></div>
  52. <h2>EXAMPLES</h2>
  53. <h3>GPX Export</h3>
  54. Export a vector lines map to a GPX track file:
  55. <div class="code"><pre>
  56. v.out.gps -t input=trail output=trail.gpx
  57. </pre></div>
  58. <h3>GPS device connected via USB adapter</h3>
  59. Export vector maps named <i>waypoints, tracks, routes</i> to a Garmin GPS
  60. connected to /dev/ttyUSB0:
  61. <div class="code"><pre>
  62. v.out.gps -w input=waypoints format=garmin output=/dev/ttyUSB0
  63. v.out.gps -t input=tracks format=garmin output=/dev/ttyUSB0
  64. v.out.gps -r input=routes format=garmin output=/dev/ttyUSB0
  65. </pre></div>
  66. <h2>SEE ALSO</h2>
  67. <em>
  68. <a href="m.proj.html">m.proj</a><br>
  69. <a href="v.in.ascii.html">v.in.ascii</a><br>
  70. <a href="v.out.ascii.html">v.out.ascii</a><br>
  71. <a href="v.in.garmin.html">v.in.garmin</a><br>
  72. <a href="v.in.gpsbabel.html">v.in.gpsbabel</a><br>
  73. <a href="v.db.renamecolumn.html">v.db.renamecolumn</a><br>
  74. <a href="v.extract.html">v.extract</a>
  75. </em>
  76. <br>
  77. <br>
  78. <a href="http://www.gpsbabel.org">GpsBabel.org</a><br>
  79. The <a href="http://www.gdal.org/ogr/drv_gpx.html">GDAL/OGR GPX format page</a><br>
  80. cs2cs from <a href="http://proj.osgeo.org">PROJ.4</a><br>
  81. <h2>AUTHOR</h2>
  82. Hamish Bowman, Dunedin New Zealand
  83. <p><i>Last changed: $Date$</i>