read.arcgenlin {stream.net}R Documentation

Read In an Arc/Info Generate Format Lines File

Description

Read in an Arc/Info generate format lines file and convert to modified S/R lines format.

Usage

  read.arcgenlin (filename, coord=c("x","y")) 

Arguments

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.

Details

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.

Value

A net.object.

Author(s)

Denis White, white.denis@epa.gov

See Also

net.object net.arcinput

Examples

 # No examples provided as there appears to be no way to store
 # the Arc/Info format data directly in R.

[Package stream.net version 1.0.6 Index]