WMSLayer: WMSLayer

WMSLayerR Documentation

WMSLayer

Description

WMSLayer

WMSLayer

Format

R6Class object.

Value

Object of R6Class modelling a WMS layer

Super class

ows4R::OGCAbstractObject -> WMSLayer

Public fields

description

description

features

features

Methods

Public methods

Inherited methods

Method new()

Initializes an object of class WMSLayer

Usage
WMSLayer$new(xmlObj, capabilities, version, logger = NULL)
Arguments
xmlObj

an object of class XMLInternalNode-class to initialize from XML

capabilities

object of class WMSCapabilities

version

service version

logger

logger


Method getName()

Get layer name

Usage
WMSLayer$getName()
Returns

object of class character


Method getTitle()

Get layer title

Usage
WMSLayer$getTitle()
Returns

object of class character


Method getAbstract()

Get layer abstract

Usage
WMSLayer$getAbstract()
Returns

object of class character


Method getKeywords()

Get layer keywords

Usage
WMSLayer$getKeywords()
Returns

object of class character


Method getDefaultCRS()

Get layer default CRS

Usage
WMSLayer$getDefaultCRS()
Returns

object of class character


Method getBoundingBox()

Get layer bounding box

Usage
WMSLayer$getBoundingBox()
Returns

object of class matrix


Method getBoundingBoxSRS()

Get layer bounding box SRS

Usage
WMSLayer$getBoundingBoxSRS()
Returns

object of class character


Method getBoundingBoxCRS()

Get layer bounding box CRS

Usage
WMSLayer$getBoundingBoxCRS()
Returns

object of class character


Method getStyles()

Get layer styles

Usage
WMSLayer$getStyles()
Returns

an object of class list


Method getStylenames()

Get layer style names

Usage
WMSLayer$getStylenames()
Returns

list of object of class character


Method getDimensions()

Get layer dimensions

Usage
WMSLayer$getDimensions(time_format = "character")
Arguments
time_format

time format. Default is character

Returns

a list including default value and listed possible values


Method getTimeDimension()

Get layer TIME dimensions

Usage
WMSLayer$getTimeDimension(time_format = "character")
Arguments
time_format

time format. Default is character

Returns

a list including default value and listed possible values


Method getElevationDimension()

Get layer ELEVATION dimensions

Usage
WMSLayer$getElevationDimension()
Returns

a list including default value and listed possible values


Method getFeatureInfo()

Get feature info

Usage
WMSLayer$getFeatureInfo(
  srs = NULL,
  styles = NULL,
  feature_count = 1,
  x,
  y,
  width,
  height,
  bbox,
  info_format = "text/xml",
  ...
)
Arguments
srs

srs

styles

styles

feature_count

feature count. Default is 1

x

x

y

y

width

width

height

height

bbox

bbox

info_format

info format. Default is "text/xml"

...

any other parameter to pass to a WMSGetFeatureInfo request

Returns

an object of class sf given the feature(s)


Method clone()

The objects of this class are cloneable with this method.

Usage
WMSLayer$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Note

Abstract class used by ows4R

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>


ows4R documentation built on June 26, 2024, 5:09 p.m.