get_wis_raster_layer: Get WDNR Image and Map Layers

get_wis_raster_layerR Documentation

Get WDNR Image and Map Layers

Description

Functions to pull layers from the ImageServer and MapServer sections of the Wisconsin Department of Natural Resources ArcGIS REST API . These are raster layers representing various maps and images throughout the state of Wisconsin. Arguments to these function can be used to specify the spatial extent of the output. If no argument is provided, the full raster will be queried.

Usage

get_wis_landcover(
  service = "EN_Land_Cover2_Lev2",
  county = NULL,
  watershed_code = NULL,
  watershed_name = NULL,
  sf_object = NULL,
  ...
)

get_wis_imagery(
  service = "EN_Image_Basemap_Leaf_Off",
  county = NULL,
  watershed_code = NULL,
  watershed_name = NULL,
  sf_object = NULL,
  ...
)

Arguments

service

A string describing the service to be pulled.

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 be passed to get_map_layer

Details

For a full list of available services use the following search options.

get_wis_landcover

list_services(section = "DW_Land_Cover")

get_wis_imagery

list_services(section = "DW_Image")

Value

A "RasterLayer" object

Examples

## Not run: 
mke_forest <- get_wis_landcover(county = c("Milwaukee","Forest"))
plot_layer(mke_forest, outline_poly = wi_poly, legend = FALSE)



## End(Not run)

wdnr.gis documentation built on Oct. 26, 2023, 1:08 a.m.