Nothing
#' WCSDescribeCoverage
#'
#' @docType class
#' @export
#' @keywords OGC WCS DescribeCoverage
#' @return Object of \code{\link[R6]{R6Class}} for modelling a WCS DescribeCoverage request
#' @format \code{\link[R6]{R6Class}} object.
#'
#' @note Class used internally by \pkg{ows4R} to trigger a WCS DescribeCoverage request
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
WCSDescribeCoverage <- R6Class("WCSDescribeCoverage",
inherit = OWSHttpRequest,
private = list(
xmlElement = "DescribeCoverage",
xmlNamespacePrefix = "WCS"
),
public = list(
#'@description Initializes a \link{WCSDescribeCoverage} service request
#'@param capabilities an object of class \link{WCSCapabilities}
#'@param op object of class \link{OWSOperation} as retrieved from capabilities
#'@param url url
#'@param serviceVersion serviceVersion
#'@param coverageId coverage ID
#'@param user user
#'@param pwd password
#'@param token token
#'@param headers headers
#'@param config config
#'@param logger logger
#'@param ... any parameter to pass to the service request
initialize = function(capabilities, op, url, serviceVersion,
coverageId,
user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(),
logger = NULL, ...) {
namedParams <- list(service = "WCS", version = serviceVersion)
if(startsWith(serviceVersion, "1.0")) namedParams <- c(namedParams, coverage = coverageId)
if(startsWith(serviceVersion, "1.1")) namedParams <- c(namedParams, identifiers = coverageId)
if(startsWith(serviceVersion, "2")) namedParams <- c(namedParams, coverageId = coverageId)
super$initialize(element = private$xmlElement, namespacePrefix = private$xmlNamespacePrefix,
capabilities, op, "GET", url, request = "DescribeCoverage",
user = user, pwd = pwd, token = token, headers = headers, config = config,
namedParams = namedParams, mimeType = "text/xml",
logger = logger, ...)
self$execute()
}
)
)
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.