Learn R Programming

geometa (version 0.4-0)

ISOVectorSpatialRepresentation: ISOVectorSpatialRepresentation

Description

ISOVectorSpatialRepresentation

Usage

ISOVectorSpatialRepresentation

Arguments

Value

Object of R6Class for modelling an ISO VectorSpatialRepresentation

Format

R6Class object.

Fields

geometricObjects

Methods

new(xml)

This method is used to instantiate an ISOVectorSpatialRepresentation

setTopologyLevel(topologyLevel)

Sets the topology level

addGeometricObject(geometricObjects)

Adds the geometricObjects

setGeometricObject(geometricObjects)

Sets the geometricObjects

delGeometricObject(geometricObjects)

Deletes the geometricObjects

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  md <- ISOVectorSpatialRepresentation$new()
  md$setTopologyLevel("geometryOnly")
  geomObject1 <- ISOGeometricObjects$new()
  geomObject1$setGeometricObjectType("surface")
  geomObject1$setGeometricObjectCount(5L)
  md$addGeometricObjects(geomObject1)
  xml <- md$encode()
  
# }

Run the code above in your browser using DataLab