浏览代码

fix parameter; HTML update

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48102 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 13 年之前
父节点
当前提交
3b34b46576
共有 2 个文件被更改,包括 15 次插入14 次删除
  1. 7 7
      scripts/v.out.gps/v.out.gps.html
  2. 8 7
      scripts/v.out.gps/v.out.gps.py

+ 7 - 7
scripts/v.out.gps/v.out.gps.html

@@ -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
 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 
 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.
 Do not use as a primary means of navigation.
 This program is distributed in the hope that it will be useful,
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License (GPL) for more details.
 GNU General Public License (GPL) for more details.
 
 
-<H2>NOTES</H2>
+<h2>NOTES</h2>
 
 
 <em>v.out.gps</em> automatically reprojects data from the 
 <em>v.out.gps</em> automatically reprojects data from the 
 projection settings of the current location to Lat/Lon WGS84.
 projection settings of the current location to Lat/Lon WGS84.
@@ -26,7 +26,7 @@ attribute will be placed within the <tt>&lt;extensions&gt;</tt> metadata
 section of the record. Not all fields names are used with all feature
 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
 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.
 use the <em>v.db.renamecolumn</em> module to rename columns.
-<P>
+<p>
 These are the standard GPX data fields known to OGR:
 These are the standard GPX data fields known to OGR:
 <div class="code"><pre>
 <div class="code"><pre>
 ageofdgpsdata
 ageofdgpsdata
@@ -59,7 +59,7 @@ vdop:	 Vertical dillution of precision (estimated fix error)
 </pre></div>
 </pre></div>
 
 
 
 
-<H2>EXAMPLES</H2>
+<h2>EXAMPLES</h2>
 
 
 <h3>GPX Export</h3>
 <h3>GPX Export</h3>
 
 

+ 8 - 7
scripts/v.out.gps/v.out.gps.py

@@ -5,7 +5,7 @@
 # MODULE:	v.out.gps
 # MODULE:	v.out.gps
 #
 #
 # PURPOSE:	Exports a GRASS vector map to a GPS receiver
 # 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
 # COPYRIGHT:	(c) 2008-2009 Hamish Bowman, and the GRASS Development Team
 #		This program is free software under the GNU General Public
 #		This program is free software under the GNU General Public
@@ -18,10 +18,10 @@
 #############################################################################
 #############################################################################
 #
 #
 # REQUIREMENTS:
 # REQUIREMENTS:
-#      -  GpsBabel from 	http://gpsbabel.sourceforge.net
+#      -  GPSBabel from 	http://gpsbabel.sourceforge.net
 #      -  cs2cs from PROJ.4 (for m.proj)	http://proj.osgeo.org
 #      -  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
 #	 gpsbabel -^2 | tr '\t' ';' | sort -t';' -k3
 #
 #
 #############################################################################
 #############################################################################
@@ -33,7 +33,7 @@
 #############################################################################
 #############################################################################
 
 
 #%Module
 #%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: vector
 #%  keywords: export
 #%  keywords: export
 #%  keywords: GPS
 #%  keywords: GPS
@@ -60,6 +60,7 @@
 #%end
 #%end
 #%option G_OPT_V_TYPE
 #%option G_OPT_V_TYPE
 #% options: point,centroid,line,boundary
 #% options: point,centroid,line,boundary
+#% answer: point,centroid,line,boundary
 #%end
 #%end
 #%option G_OPT_F_OUTPUT
 #%option G_OPT_F_OUTPUT
 #% description: Name for output file or GPS device
 #% description: Name for output file or GPS device
@@ -67,7 +68,7 @@
 #%option
 #%option
 #% key: format
 #% key: format
 #% type: string
 #% type: string
-#% description: GpsBabel supported output format
+#% description: GPSBabel supported output format
 #% answer: gpx
 #% answer: gpx
 #%end
 #%end
 #%option G_OPT_V_FIELD
 #%option G_OPT_V_FIELD
@@ -295,7 +296,7 @@ def main():
     else:
     else:
 	gtype = ''
 	gtype = ''
 
 
-    grass.verbose("Running GpsBabel ...")
+    grass.verbose("Running GPSBabel ...")
 
 
     ret = grass.call(['gpsbabel',
     ret = grass.call(['gpsbabel',
 		      gtype,
 		      gtype,
@@ -305,7 +306,7 @@ def main():
 		      '-F', output])
 		      '-F', output])
 
 
     if ret != 0:
     if ret != 0:
-	grass.fatal(_("Error running GpsBabel"))
+	grass.fatal(_("Error running GPSBabel"))
 
 
     grass.verbose("Done.")
     grass.verbose("Done.")