get_wis_rasters {wdnr.gis} | R Documentation |
General function to pull Raster layers from a MapServer or ImageServer
Description
This is a non-exported function that is used as the engine for
get_wis_landcover
and get_wis_imagery
. It
converts watersheds, counties, etc. to the appropriate sf_object and
queries the desired service using the function specified in
get_raster_function
Usage
get_wis_rasters(
service,
get_raster_function,
county = NULL,
watershed_code = NULL,
watershed_name = NULL,
sf_object = NULL,
...
)
Arguments
service |
Text string describing which service to pull. Will get matched
by |
get_raster_function |
The |
county |
A character object specifying a county name |
watershed_code |
A character object specifying the HUC code for a watershed |
watershed_name |
A character object specifying the HUC name for a watershed |
sf_object |
Any sf polygon object |
... |
Additional arguments to pass to the |
Value
A Raster* object dependent on get_raster_function
[Package wdnr.gis version 0.1.5 Index]