~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to display/d.path/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>d.path</em> enables shortest path vector networking.
4
 
Costs may be either line lengths, or attributes saved in a database table.
5
 
Supported are cost assignments for both arcs and nodes, and also different
6
 
in both directions of a vector line. For areas cost will be calculated along
7
 
boundary lines. 
8
 
 
9
 
<h2>NOTE</h2>
10
 
 
11
 
The user needs to display a vector map before using d.path. The 'from' and 'to'
12
 
points are entered by mouse into the map displayed in the GRASS monitor, or
13
 
if the <b>coor</b> option is used they can be specified non-interactively.
14
 
The actions bound to the mouse buttons are described in the terminal
15
 
window when running the command.
16
 
<p>
17
 
To calculate shortest path non-interactively and save the path to a new vector
18
 
map, use the <em>v.net.path</em> module.
19
 
 
20
 
<h2>EXAMPLE</h2>
21
 
 
22
 
Interactive shortest path routing on road network (Spearfish region):
23
 
<div class="code"><pre>
24
 
g.region vector=roads
25
 
d.mon x0
26
 
d.vect roads
27
 
d.path roads
28
 
</pre></div>
29
 
 
30
 
Non-interactive shortest path routing on road network (Spearfish region):
31
 
<div class="code"><pre>
32
 
d.path -b roads coor=601653.5,4922869.2,593330.8,4924096.6
33
 
</pre></div>
34
 
 
35
 
<h2>SEE ALSO</h2>
36
 
 
37
 
<em>
38
 
<a href="v.net.path.html">v.net.path</a>
39
 
</em>
40
 
 
41
 
<h2>AUTHOR</h2>
42
 
 
43
 
Radim Blazek, ITC-Irst, Trento, Italy
44
 
 
45
 
<p>
46
 
<i>Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $</i>