NAME

v.net.alloc - Allocate subnets for nearest centres (direction from centre). Centre node must be opened (costs >= 0). Costs of centre node are used in calculation

SYNOPSIS

v.net.alloc
v.net.alloc help
v.net.alloc [-g] input=string output=string [type=string[,string,...]] [afield=integer] [nfield=integer] [afcol=string] [abcol=string] [ncol=string] ccats=string

Flags:

-g
Use geodesic calculation for longitude-latitude locations

Parameters:

input=string
Name of input vector
output=string
Name of output vector
type=string
Arc type
Options: line,boundary
Default: line,boundary
afield=integer
Arc field
Default: 1
nfield=integer
Node field
Default: 2
afcol=string
Arc forward/both direction(s) cost column (number)
abcol=string
Arc backward direction cost column (number)
ncol=string
Node cost column (number)
ccats=string
Categories of centres (points on nodes) to which net will be allocated, field for this categories is given by nfield option.

DESCRIPTION

v.net.alloc allocates subnets for nearest centres (direction from centre). Centre node must be opened (costs >= 0). Costs of centre node are used in calculation. 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 boundary lines.

NOTES

Center nodes have to be assigned to vector nodes using v.digit. Nodes and arcs can be closed using cost = -1.

EXAMPLE

Calculating subnets for 7 centre nodes using cost assigned to vector length
v.net.alloc in=vectmap out=vectmap.alloc ccats=1-7

Calculating subnets for 7 centre nodes using cost assignments in both directions
v.net.alloc in=vectmap afcol=INDEX abcol=INDEXBACK out=vectmap.alloc ccats=1-7

SEE ALSO

d.path v.net.iso v.net.steiner v.net.salesman

AUTHOR

Radim Blazek, ITC-Irst, Trento, Italy

Last changed: $Date: 2003/08/09 15:29:16 $


Help Index