get_wis_raster_layer | R Documentation |
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.
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,
...
)
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 |
For a full list of available services use the following search options.
– list_services(section = "DW_Land_Cover")
– list_services(section = "DW_Image")
A "RasterLayer" object
## Not run:
mke_forest <- get_wis_landcover(county = c("Milwaukee","Forest"))
plot_layer(mke_forest, outline_poly = wi_poly, legend = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.