Explorar el Código

v.net.distance manual: add visualization commands to example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70375 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler hace 8 años
padre
commit
f88755473e
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      vector/v.net.distance/v.net.distance.html

+ 9 - 0
vector/v.net.distance/v.net.distance.html

@@ -66,8 +66,17 @@ v.category in=streets_net2 op=report
 
 # shortest paths from schools (points in layer 2) to nearest hospitals (points in layer 3)
 v.net.distance in=streets_net2 out=schools_to_hospitals flayer=2 to_layer=3
+
+# visualization
+g.region vector=streets_wake
+d.mon wx0
+d.vect streets_wake color=220:220:220
+d.vect schools_wake color=green size=10
+d.vect map=hospitals icon=basic/cross3 size=15 color=black fcolor=red
+d.vect schools_to_hospitals
 </pre></div>
 
+
 <h3>Distance between point source of pollution and sample points along streams</h3>
 
 Example with streams of the NC sample data set.