getWatershedRange: Get distance range of watershed

View source: R/internal.R

getWatershedRangeR Documentation

Get distance range of watershed

Description

This function gets a distance (in meters) which encompases the full range of the watershed. This function uses a diagonal across the bounding box of the watershed.

Usage

getWatershedRange(watershedOfInterest)

Arguments

watershedOfInterest

a SpatialPolygonsDataFrame showing a single watershed

Details

The Haversine formula is used to calculate the distance in Longitude and Latitude.

Value

a distance in meters

Examples


getWatershedRange(watershedOfInterest)


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