View source: R/water_netRadiation.G.R
| createAoi | R Documentation |
An AOI (Area of Interest) is created based on two points (topleft and bottomright) using a coordinate reference system.
createAoi(topleft, bottomright, EPSG)
topleft |
a vector with topleft x,y coordinates |
bottomright |
a vector with bottomright x,y coordinates |
EPSG |
EPSG code of the coordinate reference system of the coordinates (e.g. 32619 for WGS 84 / UTM zone 19N). Optional: if missing, the CRS is not set |
An sf data frame with a single POLYGON geometry (the rectangle defined by topleft and bottomright). Its CRS is set only when EPSG is supplied.
Guillermo Federico Olmedo
David Fonseca-Luengo
Other support functions:
checkSRTMgrids(),
getDEM(),
prepareSRTMdata(),
waterOptions()
tl <- c(493300, -3592700)
br <- c(557200, -3700000)
aoi <- createAoi(topleft = tl, bottomright=br, EPSG=32619)
plot(aoi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.