[GRASS-SVN] r70057 - grass/branches/releasebranch_7_2/vector/v.net.visibility

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 11 10:59:46 PST 2016


Author: neteler
Date: 2016-12-11 10:59:46 -0800 (Sun, 11 Dec 2016)
New Revision: 70057

Added:
   grass/branches/releasebranch_7_2/vector/v.net.visibility/v_net_visibility.png
Modified:
   grass/branches/releasebranch_7_2/vector/v.net.visibility/v.net.visibility.html
Log:
v.net.visibility: simple example with image and a lot of vector ascii (trunk, r69413 + r69414)

Modified: grass/branches/releasebranch_7_2/vector/v.net.visibility/v.net.visibility.html
===================================================================
--- grass/branches/releasebranch_7_2/vector/v.net.visibility/v.net.visibility.html	2016-12-11 18:04:46 UTC (rev 70056)
+++ grass/branches/releasebranch_7_2/vector/v.net.visibility/v.net.visibility.html	2016-12-11 18:59:46 UTC (rev 70057)
@@ -101,8 +101,8 @@
 g.region vector=zipcodes_wake
 d.mon wx0
 d.vect areas_7_11_25
-v.net.visibility input=zipcodes_wake output=graph
-v.net.visibility input=zipcodes_wake visibility=graph output=new_graph \
+v.net.visibility input=areas_7_11_25 output=graph
+v.net.visibility input=areas_7_11_25 visibility=graph output=new_graph \
       coordinates=669547.97,208348.20
 d.erase
 d.vect areas_7_11_25
@@ -122,6 +122,74 @@
 d.vect archsites col=red
 </pre></div>
 
+<h3>Example 6</h3>
+
+Here is an example with artificial data.
+
+<p>
+<img src="v_net_visibility.png">
+
+<p>
+Load data using here document syntax (Bash and unix-like commands lines only):
+
+<div class="code"><pre>
+v.in.ascii input=- output=simple format=standard <<EOF
+VERTI:
+B  6
+ 82.19908257  75.21788991
+ 81.67889908  71.40321101
+ 83.58623853  71.72522936
+ 84.3293578   75.21788991
+ 82.24862385  76.06009174
+ 82.19908257  75.21788991
+C  1 1
+ 82.88897401  73.66318782
+ 1     1
+C  1 1
+ 90.72645705  75.61248675
+ 1     2
+C  1 1
+ 89.37944702  69.51012912
+ 1     3
+C  1 1
+ 81.60108979  67.78669725
+ 1     4
+B  5
+ 89.92752294  73.95458716
+ 92.37981651  75.11880734
+ 91.56238532  77.29862385
+ 88.96146789  75.88669725
+ 89.92752294  73.95458716
+B  10
+ 88.54036697  70.70963303
+ 87.92192518  70.04087417
+ 87.89633028  69.00045872
+ 88.66460807  68.13372867
+ 90.15108904  68.23290821
+ 90.9426344   68.97588202
+ 90.86880734  70.11513761
+ 90.00144697  70.78336312
+ 89.06055046  70.95733945
+ 88.54036697  70.70963303
+B  9
+ 78.73119266  71.35366972
+ 80.76238532  68.90137615
+ 84.20550459  66.91972477
+ 89.87798165  65.35917431
+ 83.23494031  66.27685175
+ 80.34278748  68.00837238
+ 78.38484005  71.40292009
+ 78.40917431  72.27018349
+ 78.73119266  71.35366972
+EOF
+</pre></div>
+
+Compute the graph:
+
+<div class="code"><pre>
+v.net.visibility input=simple output=graph
+</pre></div>
+
 <h2>KNOWN ISSUES</h2>
 In some cases when 3 points or nodes are collinear, some wrong edges 
 are added. This happens only really rarly and shouldn't be a big 

Copied: grass/branches/releasebranch_7_2/vector/v.net.visibility/v_net_visibility.png (from rev 69413, grass/trunk/vector/v.net.visibility/v_net_visibility.png)
===================================================================
(Binary files differ)



More information about the grass-commit mailing list