View source: R/getProjection.R
getProjection | R Documentation |
It reads the CRS metadata utilzed in a GEOtop Simulation
getProjection(x, cond = TRUE, ...)
x |
name and full path of the file containimg CRS information |
cond |
logical value. If |
... |
futher arguments |
A string corresponding the projection and CRS if the argument cond
is TRUE
.
library(geotopbricks)
wpath <- 'https://raw.githubusercontent.com/ecor/geotopbricks_doc/master/simulations/idroclim_test1'
## URL path (RAW VERSION) of
## https://github.com/ecor/geotopbricks_doc/tree/master/simulations/idroclim_test1
## Not run:
x <- paste(wpath,"geotop.proj",sep="/")
crs <- getProjection(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.