survey_to_geometry: Cross Section Viewer To RAS Geometry

Description Usage Arguments Value

View source: R/viewer.r

Description

Convert a csv file exported from the Cross Section Viewer to a RAS geometry file.

Usage

1
2
survey_to_geometry(f, river, reach, out.format = c("XYZ", "SE"),
  which.survey = NULL, viewer.version = "1.1.56.0")

Arguments

f

The cross section viewer file to read. The function expects that the file was exported in standard csv format, NOT as HEC format.

river

The river label to assign to the survey data.

reach

The reach label to assign to the survey data.

out.format

The output format to use. If out.format = "XYZ", the geometry is output in X, Y, Z format (requires that f contains data in the "Northing" and "Easting" columns). If out.format = "SE" the geometry is output in Station-Elevation format.

which.survey

The name of the survey to extract. Only one survey can be converted at a time. If NULL, the function assumes that only one survey is listed in f.

viewer.version

The version of the cross viewer used.

Value

The survey in a format ready for import into HEC RAS.


mkoohafkan/RAStestR documentation built on July 14, 2019, 11:41 p.m.