ISOGeographicBoundingBox

ISOGeographicBoundingBox

Format

R6Class object.

Value

Object of R6Class for modelling an ISO GeographicBoundingBox

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOGeographicExtent -> ISOGeographicBoundingBox

Public fields

westBoundLongitude

westBoundLongitude

eastBoundLongitude

eastBoundLongitude

southBoundLatitude

southBoundLatitude

northBoundLatitude

northBoundLatitude

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOGeographicBoundingBox$new(
  xml = NULL,
  minx = NULL,
  miny = NULL,
  maxx = NULL,
  maxy = NULL,
  bbox = NULL
)

Arguments

xml

object of class XMLInternalNode-class

minx

minx object of class numeric

miny

miny object of class numeric

maxx

maxx object of class numeric

maxy

maxy object of class numeric

bbox

bbox object of class matrix


Method setWestBoundLongitude()

Set west bound longitude

Usage

ISOGeographicBoundingBox$setWestBoundLongitude(minx)

Arguments

minx

minx object of class numeric


Method setEastBoundLongitude()

Set east bound longitude

Usage

ISOGeographicBoundingBox$setEastBoundLongitude(maxx)

Arguments

maxx

maxx object of class numeric


Method setSouthBoundLatitude()

Set south bound latitude

Usage

ISOGeographicBoundingBox$setSouthBoundLatitude(miny)

Arguments

miny

miny object of class numeric


Method setNorthBoundLatitude()

Set north bound latitude

Usage

ISOGeographicBoundingBox$setNorthBoundLatitude(maxy)

Arguments

maxy

maxy object of class numeric


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOGeographicBoundingBox$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
  xml <- md$encode()
#> [geometa][INFO] Object 'ISOGeographicBoundingBox' is VALID according to ISO 19139 XML schemas!