
Last chance! 50% off unlimited learning
Sale ends in
ISOVectorSpatialRepresentation
Object of R6Class
for modelling an ISO VectorSpatialRepresentation
R6Class
object.
topologyLevel
[character
] the topologic level
geometricObjects
[ISOGeometricObjects
] giving type and number of geometries
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
ISO 19115:2003 - Geographic information -- Metadata
# 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