-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
70 changed files
with
3,642 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: geometa | ||
Type: Package | ||
Title: Tools for Reading and Writing ISO/OGC Geographic Metadata | ||
Version: 0.6-7 | ||
Date: 2022-02-14 | ||
Version: 0.7 | ||
Date: 2022-05-05 | ||
Authors@R: c(person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-5870-5762"))) | ||
Maintainer: Emmanuel Blondel <[email protected]> | ||
Description: Provides facilities to handle reading and writing of geographic metadata | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#' GMLCodeType | ||
#' | ||
#' @docType class | ||
#' @importFrom R6 R6Class | ||
#' @export | ||
#' @keywords GML codetype | ||
#' @return Object of \code{\link{R6Class}} for modelling a GML code type | ||
#' @format \code{\link{R6Class}} object. | ||
#' | ||
#' @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 <emmanuel.blondel1@@gmail.com> | ||
#' | ||
GMLCodeType <- R6Class("GMLCodeType", | ||
inherit = ISOAbstractObject, | ||
private = list( | ||
xmlElement = "CodeType", | ||
xmlNamespacePrefix = "GML" | ||
), | ||
public = list( | ||
value = NA, | ||
attrs = list(), | ||
initialize = function(xml = NULL, value, codeSpace = NULL){ | ||
super$initialize(xml = xml) | ||
if(is.null(xml)){ | ||
self$value = value | ||
self$attrs$codeSpace <- codeSpace | ||
} | ||
} | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#' SWEAbstractDataComponent | ||
#' | ||
#' @docType class | ||
#' @importFrom R6 R6Class | ||
#' @export | ||
#' @keywords ISO SWE | ||
#' @return Object of \code{\link{R6Class}} for modelling an SWS Abstract data component | ||
#' @format \code{\link{R6Class}} object. | ||
#' | ||
#' @note Class used internally by geometa | ||
#' | ||
#' @references | ||
#' OGC Geography Markup Language. https://www.ogc.org/standards/swecommon | ||
#' | ||
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com> | ||
#' | ||
SWEAbstractDataComponent <- R6Class("SWEAbstractDataComponent", | ||
inherit = SWEAbstractObject, | ||
private = list( | ||
xmlElement = "AbstractDataComponent", | ||
xmlNamespacePrefix = "SWE" | ||
), | ||
public = list( | ||
#'@field definition definition | ||
definition = NULL, | ||
#'@field description description | ||
description = NULL, | ||
#'@field label label | ||
label = NULL, | ||
#'@field name name | ||
name = list(), | ||
#'@field identifier identifier | ||
identifier = NULL, | ||
|
||
#'@description Initializes an object of class \link{SWSAbstractDataComponent} | ||
#'@param xml object of class \link{XMLInternalNode-class} from \pkg{XML} | ||
#'@param element element | ||
#'@param attrs attrs | ||
#'@param defaults defaults | ||
#'@param wrap wrap | ||
initialize = function(xml = NULL, element = NULL, attrs = list(), defaults = list(), wrap = TRUE){ | ||
if(is.null(element)) element <- private$xmlElement | ||
super$initialize(xml, element = element, attrs = attrs, defaults = defaults, wrap = wrap) | ||
}, | ||
|
||
#'@description Set definition | ||
#'@param definition definition | ||
setDefinition = function(definition){ | ||
self$definition <- definition | ||
}, | ||
|
||
#'@description Set description | ||
#'@param description description | ||
setDescription = function(description){ | ||
self$description <- description | ||
}, | ||
|
||
#'@description Adds name | ||
#'@param name name | ||
#'@param codeSpace codespace | ||
addName = function(name, codeSpace = NULL){ | ||
name <- GMLCodeType$new(value = name, codeSpace = codeSpace) | ||
return(self$addListElement("name", name)) | ||
}, | ||
|
||
#'@description Deletes name | ||
#'@param name name | ||
#'@param codeSpace codespace | ||
delName = function(name, codeSpace = NULL){ | ||
name <- GMLCodeType$new(value = name, codeSpace = codeSpace) | ||
return(self$delListElement("name", name)) | ||
}, | ||
|
||
#'@description Set identifier | ||
#'@param identifier identifier | ||
setIdentifier = function(identifier){ | ||
self$identifier <- identifier | ||
} | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#' SWEAbstractObject | ||
#' | ||
#' @docType class | ||
#' @importFrom R6 R6Class | ||
#' @export | ||
#' @keywords ISO GML | ||
#' @return Object of \code{\link{R6Class}} for modelling an GML abstract object | ||
#' @format \code{\link{R6Class}} object. | ||
#' | ||
#' @note Class used internally by geometa | ||
#' | ||
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com> | ||
#' | ||
SWEAbstractObject <- R6Class("SWEAbstractObject", | ||
inherit = ISOAbstractObject, | ||
private = list( | ||
xmlElement = "AbstractObject", | ||
xmlNamespacePrefix = "SWE" | ||
), | ||
public = list( | ||
|
||
#'@description Initializes an object of class \link{SWEAbstractObject} | ||
#'@param xml object of class \link{XMLInternalNode-class} from \pkg{XML} | ||
#'@param element element | ||
#'@param attrs attrs | ||
#'@param defaults defaults | ||
#'@param wrap wrap | ||
initialize = function(xml = NULL, element = NULL, attrs = list(), defaults = list(), wrap = FALSE){ | ||
if(is.null(element)) element <- private$xmlElement | ||
super$initialize(xml, element, namespace = private$xmlNamespacePrefix, | ||
attrs = attrs, defaults = defaults, | ||
wrap = wrap) | ||
} | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
OGC(r) SWE Common schema - ReadMe.txt | ||
========================================= | ||
|
||
OGC(r) Sensor Web Enablement (SWE) Common Data Model | ||
----------------------------------------------------------------------- | ||
|
||
The Sensor Web Enablement (SWE) Common Data Model Encoding Standard | ||
defines low level data models for exchanging sensor related data | ||
between nodes of the OGC Sensor Web Enablement (SWE) framework. These | ||
models allow applications and/or servers to structure, encode and | ||
transmit sensor datasets in a self describing and semantically enabled | ||
way. | ||
|
||
More information may be found at | ||
http://www.opengeospatial.org/standards/swecommon | ||
|
||
The most current schema are available at http://schemas.opengis.net/ . | ||
|
||
----------------------------------------------------------------------- | ||
|
||
2012-07-21 Kevin Stegemoller | ||
* v1.0 - v2.0: WARNING XLink change is NOT BACKWARD COMPATIBLE. | ||
* Changed OGC XLink (xlink:simpleLink) to W3C XLink (xlink:simpleAttrs) | ||
per an approved TC and PC motion during the Dec. 2011 Brussels meeting. | ||
See http://www.opengeospatial.org/blog/1597 | ||
* v1.0 - v2.0: Per 11-025, all leaf documents of a namespace shall retroactively | ||
and explicitly require/add an <include/> of the all-components schema. | ||
* v1.0 - v2.0: Included swe.xsd as the all-components document (06-135r11 #14) | ||
* v1.0.0: Updated xsd:schema/@version to 1.0.0.2 (06-135r11 s#13.4) | ||
* v1.0.1: Updated xsd:schema/@version to 1.0.1.2 (06-135r11 s#13.4) | ||
* v2.0: Updated xsd:schema/@version to 2.0.1 (06-135r11 s#13.4) | ||
|
||
2011-01-06 Alexandre Robin | ||
* v2.0.0: Published sweCommon/2.0 from OGC 08-094r1 | ||
|
||
2010-02-01 Kevin Stegemoller | ||
* v1.0.1, v1.0.0: | ||
+ Updated xsd:schema/@version attribute (06-135r7 s#13.4) | ||
+ Update relative schema imports to absolute URLs (06-135r7 s#15) | ||
+ Update/verify copyright (06-135r7 s#3.2) | ||
+ Add archives (.zip) files of previous versions | ||
+ Create/update ReadMe.txt (06-135r7 s#17) | ||
|
||
2007-11-12 Kevin Stegemoller | ||
* v1.0.1: Published sweCommon/1.0.1 from OGC 07-000 + 07-122r2 | ||
* v1.0.1: Added copyright statement | ||
* v1.0.1: Minor documentation changes | ||
* See ChangeLog.txt for additional details | ||
|
||
2007-07-25 Mike Botts | ||
* Released sensorML 1.0.0 (OGC 07-000), ic 2.0 and sweCommon 1.0.0 (from OGC 07-000) | ||
* SensorML/1.0.0 (OGC 07-000) references ic/2.0 and sweCommon/1.0.0 (from OGC 07-000) | ||
* See ChangeLog.txt for additional details | ||
|
||
----------------------------------------------------------------------- | ||
|
||
Policies, Procedures, Terms, and Conditions of OGC(r) are available | ||
http://www.opengeospatial.org/ogc/legal/ . | ||
|
||
Copyright (c) 2011 Open Geospatial Consortium. | ||
|
||
----------------------------------------------------------------------- |
Oops, something went wrong.