get_wis_raster_layer: Get WDNR Image and Map Layers

Description Usage Arguments Details Value Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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.

Value

A "RasterLayer" object

Examples

1
2
3
4
5
6
7
## 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 Sept. 5, 2021, 5:32 p.m.