Learn R Programming

geometa (version 0.6-2)

ISOVectorSpatialRepresentation: ISOVectorSpatialRepresentation

Description

ISOVectorSpatialRepresentation

Usage

ISOVectorSpatialRepresentation

Arguments

Value

Object of R6Class for modelling an ISO VectorSpatialRepresentation

Format

R6Class object.

Fields

topologyLevel

[character] the topologic level

geometricObjects

[ISOGeometricObjects] giving type and number of geometries

Methods

new(xml)

This method is used to instantiate an ISOVectorSpatialRepresentation

setTopologyLevel(topologyLevel)

Sets the topology level, object of class character or ISOTopologyLevel. Recommended values among those listed by ISOTopologyLevel$values().

addGeometricObject(geometricObjects)

Adds the geometricObjects, object of class ISOGeometricObjects

setGeometricObject(geometricObjects)

Sets the geometricObjects, object of class ISOGeometricObjects

delGeometricObject(geometricObjects)

Deletes the geometricObjects, object of class ISOGeometricObjects

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