read.arcgenlin {stream.net} | R Documentation |
Read in an Arc/Info generate format lines file and convert to modified S/R lines format.
read.arcgenlin (filename, coord=c("x","y"))
filename |
character string for the input file name. |
coord |
the names to be given to the columns for the coordinates. For stream.net, use the default. |
Any Arc/Info generate format line data can be converted for
plotting or other uses in R. In particular,
net.arcinput
uses Arc/Info generate format lines
to represent the coordinate structure of a stream network.
Modified S/R format lines consist of two columns, the "x"
coordinate and the "y"
coordinate. Prior to the first
coordinate pair of each line is a row containing the arcid in
the "x"
column and NA in the "y"
column.
A net.object
.
Denis White, white.denis@epa.gov
# No examples provided as there appears to be no way to store # the Arc/Info format data directly in R.