diff --git a/NAMESPACE b/NAMESPACE index 9ddcea55..0f55991e 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -16,6 +16,7 @@ export(GMLAffineCS) export(GMLBaseUnit) export(GMLCartesianCS) export(GMLConventionalUnit) +export(GMLConversion) export(GMLCoordinateSystemAxis) export(GMLCylindricalCS) export(GMLDefinition) diff --git a/R/GMLAbstractGeneralConversion.R b/R/GMLAbstractGeneralConversion.R new file mode 100644 index 00000000..1bded1a7 --- /dev/null +++ b/R/GMLAbstractGeneralConversion.R @@ -0,0 +1,34 @@ +#' GMLAbstractGeneralConversion +#' +#' @docType class +#' @importFrom R6 R6Class +#' @export +#' @keywords ISO GML abstract general conversion +#' @return Object of \code{\link{R6Class}} for modelling an GMLAbstractGeneralConversion +#' @format \code{\link{R6Class}} object. +#' +#' @section Inherited methods from \code{GMLAbstractCoordinateOperation} +#' +#' @section Methods: +#' \describe{ +#' \item{\code{new(xml, defaults, id)}}{ +#' This method is used to instantiate a GML Abstract CRS +#' } +#' } +#' +#' @references +#' ISO 19136:2007 Geographic Information -- Geographic Markup Language. +#' http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 +#' +#' OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +#' +#' @author Emmanuel Blondel +#' +GMLAbstractGeneralConversion <- R6Class("GMLAbstractGeneralConversion", + inherit = GMLAbstractSingleOperation, + private = list( + xmlElement = "AbstractGeneralConversion", + xmlNamespacePrefix = "GML" + ), + public = list() +) \ No newline at end of file diff --git a/R/GMLAbstractSingleOperation.R b/R/GMLAbstractSingleOperation.R new file mode 100644 index 00000000..919f9c01 --- /dev/null +++ b/R/GMLAbstractSingleOperation.R @@ -0,0 +1,34 @@ +#' GMLAbstractSingleOperation +#' +#' @docType class +#' @importFrom R6 R6Class +#' @export +#' @keywords ISO GML abstract single Operation +#' @return Object of \code{\link{R6Class}} for modelling an GMLAbstractSingleOperation +#' @format \code{\link{R6Class}} object. +#' +#' @section Inherited methods from \code{GMLAbstractCoordinateOperation} +#' +#' @section Methods: +#' \describe{ +#' \item{\code{new(xml, defaults, id)}}{ +#' This method is used to instantiate a GML Abstract CRS +#' } +#' } +#' +#' @references +#' ISO 19136:2007 Geographic Information -- Geographic Markup Language. +#' http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 +#' +#' OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +#' +#' @author Emmanuel Blondel +#' +GMLAbstractSingleOperation <- R6Class("GMLAbstractSingleOperation", + inherit = GMLAbstractCoordinateOperation, + private = list( + xmlElement = "AbstractSingleOperation", + xmlNamespacePrefix = "GML" + ), + public = list() +) \ No newline at end of file diff --git a/R/GMLConversion.R b/R/GMLConversion.R new file mode 100644 index 00000000..63ef5cf8 --- /dev/null +++ b/R/GMLConversion.R @@ -0,0 +1,68 @@ +#' GMLConversion +#' +#' @docType class +#' @importFrom R6 R6Class +#' @export +#' @keywords ISO GML conversion +#' @return Object of \code{\link{R6Class}} for modelling an GMLConversion +#' @format \code{\link{R6Class}} object. +#' +#' @field method +#' @field parameterValue +#' +#' @section Inherited methods from \code{GMLAbstractCoordinateOperation} +#' +#' @section Methods: +#' \describe{ +#' \item{\code{new(xml, defaults, id)}}{ +#' This method is used to instantiate a GML Conversion +#' } +#' \item{\code{setMethod(method)}}{ +#' Sets the method +#' } +#' \item{\code{addParameterValue(paramValue)}}{ +#' Adds a parameter value +#' } +#' \item{\code{delParameterValue(paramValue)}}{ +#' Deletes a parameter value +#' } +#' } +#' +#' @references +#' ISO 19136:2007 Geographic Information -- Geographic Markup Language. +#' http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 +#' +#' OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +#' +#' @author Emmanuel Blondel +#' +GMLConversion <- R6Class("GMLConversion", + inherit = GMLAbstractGeneralConversion, + private = list( + xmlElement = "Conversion", + xmlNamespacePrefix = "GML" + ), + public = list( + + #+ method [1..1]: #TODO + method = NULL, + #+ parameterValue [0..*]: #TODO + parameterValue = list(), + + #setMethod + setMethod = function(method){ + self$method <- GMLElement$create("method", method) + }, + + #addParameterValue + addParameterValue = function(paramValue){ + return(self$addListElement("parameterValue", paramValue)) + }, + + #delParameterValue + delParameterValue = function(paramValue){ + return(self$delListElement("parameterValue", paramValue)) + } + + ) +) \ No newline at end of file diff --git a/man/GMLAbstractGeneralConversion.Rd b/man/GMLAbstractGeneralConversion.Rd new file mode 100644 index 00000000..61655561 --- /dev/null +++ b/man/GMLAbstractGeneralConversion.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2 (4.1.1): do not edit by hand +% Please edit documentation in R/GMLAbstractGeneralConversion.R +\docType{class} +\name{GMLAbstractGeneralConversion} +\alias{GMLAbstractGeneralConversion} +\title{GMLAbstractGeneralConversion} +\format{\code{\link{R6Class}} object.} +\usage{ +GMLAbstractGeneralConversion +} +\value{ +Object of \code{\link{R6Class}} for modelling an GMLAbstractGeneralConversion +} +\description{ +GMLAbstractGeneralConversion +} +\section{Inherited methods from \code{GMLAbstractCoordinateOperation}}{ + +} + +\section{Methods}{ + +\describe{ + \item{\code{new(xml, defaults, id)}}{ + This method is used to instantiate a GML Abstract CRS + } +} +} +\author{ +Emmanuel Blondel +} +\references{ +ISO 19136:2007 Geographic Information -- Geographic Markup Language. + http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 + + OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +} +\keyword{GML} +\keyword{ISO} +\keyword{abstract} +\keyword{conversion} +\keyword{general} + diff --git a/man/GMLAbstractSingleOperation.Rd b/man/GMLAbstractSingleOperation.Rd new file mode 100644 index 00000000..48ef8f28 --- /dev/null +++ b/man/GMLAbstractSingleOperation.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2 (4.1.1): do not edit by hand +% Please edit documentation in R/GMLAbstractSingleOperation.R +\docType{class} +\name{GMLAbstractSingleOperation} +\alias{GMLAbstractSingleOperation} +\title{GMLAbstractSingleOperation} +\format{\code{\link{R6Class}} object.} +\usage{ +GMLAbstractSingleOperation +} +\value{ +Object of \code{\link{R6Class}} for modelling an GMLAbstractSingleOperation +} +\description{ +GMLAbstractSingleOperation +} +\section{Inherited methods from \code{GMLAbstractCoordinateOperation}}{ + +} + +\section{Methods}{ + +\describe{ + \item{\code{new(xml, defaults, id)}}{ + This method is used to instantiate a GML Abstract CRS + } +} +} +\author{ +Emmanuel Blondel +} +\references{ +ISO 19136:2007 Geographic Information -- Geographic Markup Language. + http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 + + OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +} +\keyword{GML} +\keyword{ISO} +\keyword{Operation} +\keyword{abstract} +\keyword{single} + diff --git a/man/GMLConversion.Rd b/man/GMLConversion.Rd new file mode 100644 index 00000000..9d29242e --- /dev/null +++ b/man/GMLConversion.Rd @@ -0,0 +1,57 @@ +% Generated by roxygen2 (4.1.1): do not edit by hand +% Please edit documentation in R/GMLConversion.R +\docType{class} +\name{GMLConversion} +\alias{GMLConversion} +\title{GMLConversion} +\format{\code{\link{R6Class}} object.} +\usage{ +GMLConversion +} +\value{ +Object of \code{\link{R6Class}} for modelling an GMLConversion +} +\description{ +GMLConversion +} +\section{Fields}{ + +\describe{ +\item{\code{method}}{} + +\item{\code{parameterValue}}{} +}} +\section{Inherited methods from \code{GMLAbstractCoordinateOperation}}{ + +} + +\section{Methods}{ + +\describe{ + \item{\code{new(xml, defaults, id)}}{ + This method is used to instantiate a GML Conversion + } + \item{\code{setMethod(method)}}{ + Sets the method + } + \item{\code{addParameterValue(paramValue)}}{ + Adds a parameter value + } + \item{\code{delParameterValue(paramValue)}}{ + Deletes a parameter value + } +} +} +\author{ +Emmanuel Blondel +} +\references{ +ISO 19136:2007 Geographic Information -- Geographic Markup Language. + http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554 + + OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml +} +\keyword{GML} +\keyword{ISO} +\keyword{conversion} +