[GRASS-SVN] r48102 - grass/trunk/scripts/v.out.gps
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 4 05:43:15 EDT 2011
Author: neteler
Date: 2011-09-04 02:43:15 -0700 (Sun, 04 Sep 2011)
New Revision: 48102
Modified:
grass/trunk/scripts/v.out.gps/v.out.gps.html
grass/trunk/scripts/v.out.gps/v.out.gps.py
Log:
fix parameter; HTML update
Modified: grass/trunk/scripts/v.out.gps/v.out.gps.html
===================================================================
--- grass/trunk/scripts/v.out.gps/v.out.gps.html 2011-09-04 08:03:54 UTC (rev 48101)
+++ grass/trunk/scripts/v.out.gps/v.out.gps.html 2011-09-04 09:43:15 UTC (rev 48102)
@@ -1,18 +1,18 @@
-<H2>DESCRIPTION</H2>
+<h2>DESCRIPTION</h2>
-<EM>v.out.gps</EM> allows the user to export waypoint, route, and track
+<em>v.out.gps</em> allows the user to export waypoint, route, and track
data from a vector map into a locally connected GPS receiver or as a file in
many common GPS data formats. Translation is done via the
-<EM><A HREF="http://www.gpsbabel.org">GpsBabel</a></EM> program.
+<em><a href="http://www.gpsbabel.org">GPSBabel</a></em> program.
-<P>
+<p>
Do not use as a primary means of navigation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License (GPL) for more details.
-<H2>NOTES</H2>
+<h2>NOTES</h2>
<em>v.out.gps</em> automatically reprojects data from the
projection settings of the current location to Lat/Lon WGS84.
@@ -26,7 +26,7 @@
section of the record. Not all fields names are used with all feature
types (e.g. DOP fix error is not meaningful for route lines). You can
use the <em>v.db.renamecolumn</em> module to rename columns.
-<P>
+<p>
These are the standard GPX data fields known to OGR:
<div class="code"><pre>
ageofdgpsdata
@@ -59,7 +59,7 @@
</pre></div>
-<H2>EXAMPLES</H2>
+<h2>EXAMPLES</h2>
<h3>GPX Export</h3>
Modified: grass/trunk/scripts/v.out.gps/v.out.gps.py
===================================================================
--- grass/trunk/scripts/v.out.gps/v.out.gps.py 2011-09-04 08:03:54 UTC (rev 48101)
+++ grass/trunk/scripts/v.out.gps/v.out.gps.py 2011-09-04 09:43:15 UTC (rev 48102)
@@ -5,7 +5,7 @@
# MODULE: v.out.gps
#
# PURPOSE: Exports a GRASS vector map to a GPS receiver
-# or data file using GpsBabel
+# or data file using GPSBabel
#
# COPYRIGHT: (c) 2008-2009 Hamish Bowman, and the GRASS Development Team
# This program is free software under the GNU General Public
@@ -18,10 +18,10 @@
#############################################################################
#
# REQUIREMENTS:
-# - GpsBabel from http://gpsbabel.sourceforge.net
+# - GPSBabel from http://gpsbabel.sourceforge.net
# - cs2cs from PROJ.4 (for m.proj) http://proj.osgeo.org
#
-# - report supported GpsBabel formats:
+# - report supported GPSBabel formats:
# gpsbabel -^2 | tr '\t' ';' | sort -t';' -k3
#
#############################################################################
@@ -33,7 +33,7 @@
#############################################################################
#%Module
-#% description: Exports a vector map to a GPS receiver or file format supported by GpsBabel.
+#% description: Exports a vector map to a GPS receiver or file format supported by GPSBabel.
#% keywords: vector
#% keywords: export
#% keywords: GPS
@@ -60,6 +60,7 @@
#%end
#%option G_OPT_V_TYPE
#% options: point,centroid,line,boundary
+#% answer: point,centroid,line,boundary
#%end
#%option G_OPT_F_OUTPUT
#% description: Name for output file or GPS device
@@ -67,7 +68,7 @@
#%option
#% key: format
#% type: string
-#% description: GpsBabel supported output format
+#% description: GPSBabel supported output format
#% answer: gpx
#%end
#%option G_OPT_V_FIELD
@@ -295,7 +296,7 @@
else:
gtype = ''
- grass.verbose("Running GpsBabel ...")
+ grass.verbose("Running GPSBabel ...")
ret = grass.call(['gpsbabel',
gtype,
@@ -305,7 +306,7 @@
'-F', output])
if ret != 0:
- grass.fatal(_("Error running GpsBabel"))
+ grass.fatal(_("Error running GPSBabel"))
grass.verbose("Done.")
More information about the grass-commit
mailing list