Nothing
#' Identify current mapset or list all possible mapsets
#' @description GRASS GIS uses a system of mapsets.
#' @param which One of either 'current' (the default), which causes the function to return the current mapset, or 'possible', which causes the function to list all possible mapsets.
#' @return Nothing.
report_mapset <- function(which = "current"){
if(!which %in% c("current", "possible")) stop("Invalid 'which' value specified.")
if(which == 'current'){
flag <- "p"
} else {
flag <- "l"
}
execGRASS(
"g.mapset",
flags = flag
)
invisible()
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.