Learn R Programming

RPyGeo (version 0.9-3)

ArcGIS Hydrology Geoprocessing Tools: Wrappers for functions from the Hydrology toolset

Description

Wrappers for selected geoprocessing tools from the ArcGIS Hydrology toolset of the Spatial Analyst extension.

Usage

rpygeo.FlowAccumulation.sa(in.flow.direction.raster, out.accumulation.raster, in.weight.raster = NULL, data.type = c("FLOAT","INTEGER"), ...) rpygeo.FlowDirection.sa(in.surface.raster, out.flow.direction.raster, force.flow = c("NORMAL","FORCE"), out.drop.raster = NULL, ...) rpygeo.FlowLength.sa(in.flow.direction.raster, out.raster, direction.measurement = c("DOWNSTREAM","UPSTREAM"), in.weight.raster = NULL, ...) rpygeo.Sink.sa(in.flow.direction.raster, out.raster, ...)

Arguments

in.flow.direction.raster, in.surface.raster, in.weight.raster, out.accumulation.raster, out.flow.direction.raster, out.drop.raster, out.raster
Names of ArcGIS raster or vector datasets or feature classes in a geodatabase (relative to the current workspace defined in a rpygeo.env environment). Shapefiles must include the extension ".shp".
data.type, direction.measurement
Arguments to be passed to the Python geoprocessing tool. See ArcGIS help files (link below) for information on the usage of scripting commands and their arguments.
force.flow
see ArcGIS help
...
Additional arguments to be passed to rpygeo.geoprocessor.

Value

The functions return NULL if no error occurred, otherwise a character vector containing the error message.

Details

These functions simply interface the behaviour of the ArcGIS/Python geoprocessing functions with the equivalent names. See rpygeo.geoprocessor for details on what happens behind the scenes.

ArcGIS 9.2 online help for the georpocessing tools can be accessed through the following URLs:

See Also

rpygeo.geoprocessor, rpygeo.build.env