Learn R Programming

geometa (version 0.6-2)

ISOGeographicBoundingBox: ISOGeographicBoundingBox

Description

ISOGeographicBoundingBox

Usage

ISOGeographicBoundingBox

Arguments

Value

Object of R6Class for modelling an ISO GeographicBoundingBox

Format

R6Class object.

Fields

westBoundLongitude

[numeric] west longitude

eastBoundLongitude

[numeric] east longitude

southBoundLatitude

[numeric] south latitude

northBoundLatitude

[numeric] north latitude

Methods

new(xml, minx, miny, maxx, maxy, bbox)

This method is used to instantiate an ISOGeographicBoundingBox

setWestBoundLongitude(minx)

Set the west bound longitude.

setEastBoundLongitude(minx)

Set the west bound longitude.

setSouthBoundLatitude(miny)

Set the south bound latitude.

setNorthBoundLatitude(maxy)

Set the north bound latitude.

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  md <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
  xml <- md$encode()

# }

Run the code above in your browser using DataLab