GRASS logo

NAME

m.colseg - patch desired columns from input vector to the segmented output vector (for polygon or line)

KEYWORDS

vector, segmentation, attribute table, patch

SYNOPSIS

m.colseg
m.colseg help
m.colseg input=name segmented=name output=name columns=string[,string,...] val=float [--overwrite] [--verbose] [--quiet]

Flags:

--overwrite
Allow output files to overwrite existing files
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

input=name
Input vector map to patch
segmented=name
Input segmented vector name
output=name
Output segmented vector name
columns=string[,string,...]
Name of desired columns to patch from INPUT to OUTPUT (name separated by comma ',')
val=float
distance of maximum search (in map units)

DESCRIPTION

m.colseg allows the user to patch attribute columns from the input vector to the segmented output vector. Several columns can be patched with one operation. If the user wants to patch columns from several input vectors, operations must be launched for each input vector. m.colseg allows to patch from input line vector or input polygon vector.

NOTES

This script is compulsory if the user wants to have attribut data from input vectors. Because, after using m.seg, the segmented polygon vector (or line vector) has only the ID columns in the attribute table.

EXAMPLES

Joint attribute data (num_parc,occ_sol) from field vector to seg vector

GRASS 6.3.0 :~ > m.colseg input=field segmented=seg output=seg2 columns=num_parc,occ_sol val=0.1

Joint attribute data (width,Ks) from reach vector to seg_reach vector

GRASS 6.3.0 :~ > m.colseg input=reach segmented=seg_reach output=seg_reach2 columns=width,Ks val=10

SEE ALSO

m.seg

AUTHORS

Michael Rabotin, UMR LISAH, Montpellier, France

rabotin@supagro.inra.fr

Last Changed: 23 January 2012


Main index

Copyright UMR LISAH OpenFluid