[GRASS-SVN] r36884 - grass/trunk/display/d.path

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 23 04:12:09 EDT 2009


Author: neteler
Date: 2009-04-23 04:12:09 -0400 (Thu, 23 Apr 2009)
New Revision: 36884

Modified:
   grass/trunk/display/d.path/d.path.html
Log:
polished; examples improved (interactive not really functional right now)

Modified: grass/trunk/display/d.path/d.path.html
===================================================================
--- grass/trunk/display/d.path/d.path.html	2009-04-23 08:11:00 UTC (rev 36883)
+++ grass/trunk/display/d.path/d.path.html	2009-04-23 08:12:09 UTC (rev 36884)
@@ -1,8 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<em>d.path</em> enables shortest path vector networking - based on DGLib
-(Directed Graph Library) vector network library  
-(see <a href="http://grass.gdf-hannover.de/wiki/Vector_network_analysis">screenshot</a>).
+<em>d.path</em> enables shortest path vector networking.
 Costs may be either line lengths, or attributes saved in a database table.
 Supported are cost assignments for both arcs and nodes, and also different
 in both directions of a vector line. For areas cost will be calculated along
@@ -21,18 +19,22 @@
 
 <h2>EXAMPLE</h2>
 
+Interactive shortest path routing on road network (Spearfish region):
 <div class="code"><pre>
-# Spearfish
-
+g.region vector=roads
 d.vect roads
-d.path -b roads coor="601653.5,4922869.2","593330.8,4924096.6"
+d.path roads
 </pre></div>
 
+Non-interactive shortest path routing on road network (Spearfish region):
+<div class="code"><pre>
+d.path -b roads coor=601653.5,4922869.2,593330.8,4924096.6
+</pre></div>
+
 <h2>SEE ALSO</h2>
 
 <em>
-<a HREF="v.net.path.html">v.net.path</a>,
-<a HREF="http://grass.itc.it/dglib/">DGLib</a>
+<a HREF="v.net.path.html">v.net.path</a>
 </em>
 
 <h2>AUTHOR</h2>



More information about the grass-commit mailing list