Skip to contents

OWSBoundingBox

OWSBoundingBox

Format

R6Class object.

Value

Object of R6Class for modelling an OGC Bounding Box

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

ows4R::OGCAbstractObject -> OWSBoundingBox

Public fields

attrs

attributes to be associated to XML

LowerCorner

lower corner coordinates

UpperCorner

upper corner coordinates

Methods

Inherited methods


Method new()

Initializes an object of class OWSBoundingBox

Usage

OWSBoundingBox$new(
  xml = NULL,
  element = NULL,
  namespacePrefix = NULL,
  owsVersion,
  serviceVersion,
  logger = NULL
)

Arguments

xml

an object of class XMLInternalNode-class to initialize from XML

element

element name

namespacePrefix

namespace prefix

owsVersion

OWS version

serviceVersion

service version

logger

logger


Method decode()

Decodes an object of class OWSBoundingBox from XML

Usage

OWSBoundingBox$decode(xml)

Arguments

xml

object of class XMLInternalNode-class from XML


Method getBBOX()

Get BBOX as object of class bbox from sf package

Usage

OWSBoundingBox$getBBOX()

Returns

a numeric vector of length four, with xmin, ymin, xmax and ymax values


Method clone()

The objects of this class are cloneable with this method.

Usage

OWSBoundingBox$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.