net.object {stream.net}R Documentation

Data Structure for Stream Network Object

Description

Components of the net.object.

Format

The network data structure, as returned from net.qmodel and net.arcinput, is a list with three components:

links a data frame of the topological structure
segs a data frame of the segment structure (pieces of links)
cords a list of the x and y coordinates for each segment

links has the components
lid identifier for the link
parent index of parent link (or 0 if root)
left index of left child (or 0 if terminal)
right index of right child (or 0 if terminal)
depth topological depth of link (number of links from root)
first index of first segment of this link
last index of last segment of this link
strahler Strahler order
shreve Shreve order

segs has the components
sid identifier for the segment (for external ref)
link index to parent link
nxt index of the next segment for this link
prev index of the previous segment for this link
up if segment (and coordinates) oriented upstream = 1, else = 0
length segment coordinate length

cords has the components
x x coordinates with a sublist for each segment
y y coordinates with a sublist for each segment
(The names for the x and y sublists are the respective sids.)

Author(s)

Denis White, white.denis@epa.gov

See Also

net.arcinput net.qmodel

Examples

  net <- net.qmodel (5)
  net

[Package stream.net version 1.0.6 Index]