Skip to contents

CSWHarvest

CSWHarvest

Format

R6Class object.

Value

Object of R6Class for modelling a CSW Harvest request

Note

Class used internally by ows4R to trigger a CSW Harvest request

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWHarvest

Public fields

Source

source property for request XML encoding

ResourceType

resource type property for request XML encoding

ResourceFormat

resource format property for request XML encoding

Methods

Inherited methods


Method new()

Initializes a CSWHarvest service request

Usage

CSWHarvest$new(
  capabilities,
  op,
  url,
  serviceVersion = "2.0.2",
  user = NULL,
  pwd = NULL,
  token = NULL,
  headers = list(),
  config = httr::config(),
  source = NULL,
  resourceType = "http://www.isotc211.org/schemas/2005/gmd/",
  resourceFormat = "application/xml",
  logger = NULL,
  ...
)

Arguments

capabilities

an object of class CSWCapabilities

op

object of class OWSOperation as retrieved from capabilities

url

url

serviceVersion

serviceVersion. Default is "2.0.2

user

user

pwd

password

token

token

headers

headers

config

config

source

source

resourceType

resource type. Default is "http://www.isotc211.org/schemas/2005/gmd/"

resourceFormat

resource format. Default is "application/xml"

logger

logger

...

any parameter to pass to the service request


Method clone()

The objects of this class are cloneable with this method.

Usage

CSWHarvest$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.