[GRASS-SVN] r38952 - grass/branches/develbranch_6/vector/v.label.sa

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 2 17:21:52 EDT 2009


Author: neteler
Date: 2009-09-02 17:21:52 -0400 (Wed, 02 Sep 2009)
New Revision: 38952

Added:
   grass/branches/develbranch_6/vector/v.label.sa/v_label_sa.jpg
Modified:
   grass/branches/develbranch_6/vector/v.label.sa/description.html
Log:
new example with screenshot

Modified: grass/branches/develbranch_6/vector/v.label.sa/description.html
===================================================================
--- grass/branches/develbranch_6/vector/v.label.sa/description.html	2009-09-02 21:20:36 UTC (rev 38951)
+++ grass/branches/develbranch_6/vector/v.label.sa/description.html	2009-09-02 21:21:52 UTC (rev 38952)
@@ -8,17 +8,31 @@
 
 <H2>EXAMPLE</H2>
 
-Spearfish example:
+North Carolina example:
 <p>
 <div class="code"><pre>
+# get font names:
 d.font -L
-v.label.sa roads font=Vera labels=roads_labels column=label
-g.region vect=roads
-d.erase
-d.vect roads
+
+v.label.sa roadsmajor labels=roads_labels column=ROAD_NAME color=red \
+           background=white size=250 font=Vera
+
+# set region:
+g.region rast=lsat7_2002_10 -p
+
+# display:
+d.rgb b=lsat7_2002_10 g=lsat7_2002_20 r=lsat7_2002_30
+d.vect roadsmajor col=yellow
 d.labels roads_labels
 </pre></div>
 
+<p>
+<center>
+<img src="v_label_sa.jpg" alt="Road labeling with v.label.sa"><br>
+<i>Road labeling with v.label.sa (Raleigh, North Carolina, USA, area)</i>
+</center>
+
+
 <H2>REFERENCES</H2>
 Edmondson, Christensen, Marks and Shieber: A General Cartographic
 Labeling Algorithm, Cartographica, Vol. 33, No. 4, Winter 1996, pp. 13-23

Added: grass/branches/develbranch_6/vector/v.label.sa/v_label_sa.jpg
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/vector/v.label.sa/v_label_sa.jpg
___________________________________________________________________
Added: svn:mime-type
   + image/jpeg



More information about the grass-commit mailing list