Skip to contents

BBOX

BBOX

Format

R6Class object.

Value

Object of R6Class for modelling an BBOX

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

PropertyName

property name field for XML encoding

Envelope

envelope as object of class GMLEnvelope from geometa

Methods

Public methods

Inherited methods


Method new()

Initializes a BBOX expression

Usage

BBOX$new(bbox, srsName = NULL)

Arguments

bbox

an object of class matrix

srsName

srs name


Method clone()

The objects of this class are cloneable with this method.

Usage

BBOX$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  bbox <- OWSUtils$toBBOX(-180,-90,180,90)
  expr <- BBOX$new(bbox)
  expr_xml <- expr$encode() #see how it looks like in XML
#> [geometa][WARN] Element '{http://www.opengis.net/gml}Envelope': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'GMLEnvelope' is INVALID according to ISO 19139 XML schemas!