GRASS logo

NAME

m.network - hydrological network verification (rooted tree)

KEYWORDS

vector, network, rooted tree

SYNOPSIS

m.network
m.network help
m.network [-c] input=name output=name [--overwrite] [--verbose] [--quiet]

Flags:

-c
clean vector geometry for confluence problem (default is no)
--overwrite
Allow output files to overwrite existing files
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

input=name
Input vector name
output=name
Output vector name

DESCRIPTION

m.network allows the user to verify the geometry of the input line vector. As the MHYDAS model accepts only rooted tree structure for line vectors, m.network identifies possible confluence geometry problems, loop presence, duplicate segments and checks segment connection. See Examples for details.

NOTES

Flag - c allows the user to clean the geometry vector and modifies the attribute table if confluence geometry problems are identified. Note that in the attribute table, a row is inserted for each new segment created (creation is made using v.clean tool=break command) but only the cat column is updated. See Examples for details.

EXAMPLES

Network verification

GRASS 6.3.0 :~ > m.network input=line1 output=line2
Writing attributes...

--> Everything seems ok !

Geometry problems detected during verification

Loops detected during network verification :

GRASS 6.3.0 :~ > m.network input=loop1 output=loop2
WARNING: The network has 2 cycle(s)
WARNING: Please check on the loop1 vector the followings category segments
         to eliminate the cycles:
15
18
19
20
21
22
23
24
Confluence problems detected during network verification :

GRASS 6.3.0 :~ > m.network input=line3 output=line4

WARNING: <line3> has geometry problems on confluence. Check it please
Flag - c can be used to clean geometry for this problem :

GRASS 6.3.0 :~ > m.network -c input=line3 output=line4
Writing attributes...

--> Everything seems ok !
Connection problems detected during network verification :

GRASS 6.3.0 :~ > m.network input=disconnect1 output=disconnect2

WARNING: The network isn't connected, please check it
WARNING: Maybe check the following segments (category identifiant):
3
5
6
2
SEE ALSO

m.disline, m.segline

AUTHORS

Michael Rabotin, UMR LISAH, Montpellier, France

rabotin@supagro.inra.fr

Last Changed: 23 January 2012


Main index

Copyright UMR LISAH OpenFluid