浏览代码

htmldriver: changed example to NC dataset

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73801 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 6 年之前
父节点
当前提交
b1861ee356
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7 6
      lib/htmldriver/htmldriver.html

+ 7 - 6
lib/htmldriver/htmldriver.html

@@ -100,20 +100,21 @@ Several environment variables affect the operation of the HTML driver:
 Start up the driver
 
 <div class="code"><pre>
+g.region vector=zipcodes_wake 
 d.mon start=html
 </pre></div>
 
 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