[GRASS-SVN] r73801 - grass/trunk/lib/htmldriver

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 14 13:31:53 PST 2018


Author: neteler
Date: 2018-12-14 13:31:53 -0800 (Fri, 14 Dec 2018)
New Revision: 73801

Modified:
   grass/trunk/lib/htmldriver/htmldriver.html
Log:
htmldriver: changed example to NC dataset

Modified: grass/trunk/lib/htmldriver/htmldriver.html
===================================================================
--- grass/trunk/lib/htmldriver/htmldriver.html	2018-12-14 13:23:10 UTC (rev 73800)
+++ grass/trunk/lib/htmldriver/htmldriver.html	2018-12-14 21:31:53 UTC (rev 73801)
@@ -100,6 +100,7 @@
 Start up the driver
 
 <div class="code"><pre>
+g.region vector=zipcodes_wake 
 d.mon start=html
 </pre></div>
 
@@ -106,14 +107,14 @@
 Display text strings (HREF's) and polygons
 
 <div class="code"><pre>
-echo "http://www.no-such-place.net/area51/" | d.text
-d.vect map=area51
-echo "http://www.roswell-nm.net/little/green/men.html" | d.text
-d.vect map=roswell
+echo "https://en.wikipedia.org/wiki/Raleigh,_North_Carolina" | d.text
+d.vect map=zipcodes_wake where="ZIPNAME = 'RALEIGH'"
+echo "https://en.wikipedia.org/wiki/Cary,_North_Carolina" | d.text
+d.vect map=zipcodes_wake where="ZIPNAME = 'CARY'" fill_color=180:200:210
 </pre></div>
 
-Stop the driver when all polygon have been displayed. This will cause
-a file named 'htmlmap' to be created in your current directory.
+Stop the driver once all polygon have been displayed. This will create
+a file named 'htmlmap' in your current directory:
 
 <div class="code"><pre>
 d.mon stop=html



More information about the grass-commit mailing list