mapWatershed: mapWatershed

View source: R/mapWatershed.R

mapWatershedR Documentation

mapWatershed

Description

This is a raw method of plotting a watershed. This function is internal as too many details need to be specified to get this function to work.

Usage

mapWatershed(
  watershedPolygon,
  USGSstationLatitude,
  USGSstationLongitude,
  NOAAstationsLatitude = NULL,
  NOAAstationsLongitude = NULL,
  USGSStationName = "",
  NOAAStationsNames = "",
  watershedMap = NULL,
  zoomFactor = 10,
  printMap = FALSE
)

Arguments

watershedPolygon

a spatialPoints class defining the polygon of the watershed

USGSstationLatitude

the latitude coordinate of the USGS station

USGSstationLongitude

the longitude coordinate of the USGS station

NOAAstationsLatitude

the latitude coordinates of the NOAA stations on the watershed

NOAAstationsLongitude

the longitude coordinates of the NOAA stations on the watershed

USGSStationName

the name of the USGS station

watershedMap

the map of the watershed

zoomFactor

the factor which to zoom in on a map

printMap

set printMap to TRUE to output a map. This may not work in R markdown.

NOAAStationsName

the name of the NOAA station

Value

a leaflet map of the watershed


JerryHMartin/waterDataSupport documentation built on Jan. 25, 2023, 2:36 a.m.