m.network - hydrological network verification (rooted tree)
m.network
m.network help
m.network [-c]
input=name output=name [--overwrite]
[--verbose] [--quiet]
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.
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.
GRASS 6.3.0 :~ > m.network input=line1 output=line2 Writing attributes... --> Everything seems ok !
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
GRASS 6.3.0 :~ > m.network input=line3 output=line4 WARNING: <line3> has geometry problems on confluence. Check it please
GRASS 6.3.0 :~ > m.network -c input=line3 output=line4 Writing attributes... --> Everything seems ok !
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
Michael Rabotin, UMR LISAH, Montpellier, France
rabotin@supagro.inra.fr
Last Changed: 23 January 2012
Copyright UMR LISAH OpenFluid