-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
53 changed files
with
1,697 additions
and
288 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,16 +1,14 @@ | ||
Package: ows4R | ||
Version: 0.1 | ||
Date: 2018-05-18 | ||
Date: 2018-06-28 | ||
Title: interface to OGC Web-Services (OWS) | ||
Authors@R: c(person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-5870-5762")), | ||
person("Norbert", "Billet", role = c("ctb"))) | ||
Maintainer: Emmanuel Blondel <[email protected]> | ||
Depends: R (>= 2.15), geometa | ||
Imports: R6, httr, XML (>= 3.96-1.1), sf, rgdal | ||
Suggests: testthat | ||
Description: Provides an interface to OGC Web-Services (OWS). In a first step, the package supports the Common | ||
OGC Web-Services specifications the Web Feature Service (WFS). ows4R will progressively support other OGC web | ||
service specifications such as Web Map Service (WMS), Web Coverage Service, or Catalogue Service for the web (CSW). | ||
Description: Provides an interface to OGC Web-Services (OWS). | ||
License: MIT + file LICENSE | ||
URL: https://github.com/eblondel/ows4R | ||
BugReports: https://github.com/eblondel/ows4R/issues | ||
|
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,33 @@ | ||
#' CSWConstraint | ||
#' @docType class | ||
#' @export | ||
#' @keywords OGC Filter | ||
#' @return Object of \code{\link{R6Class}} for modelling an CSW Constraint | ||
#' @format \code{\link{R6Class}} object. | ||
#' @section Methods: | ||
#' \describe{ | ||
#' \item{\code{new(filter, cswVersion)}}{ | ||
#' This method is used to instantiate an CSWConstraint object. | ||
#' } | ||
#' } | ||
CSWConstraint <- R6Class("CSWConstraint", | ||
inherit = OGCAbstractObject, | ||
private = list( | ||
xmlElement = "Constraint", | ||
xmlNamespace = c(csw = "http://www.opengis.net/cat/csw") | ||
), | ||
public = list( | ||
wrap = TRUE, | ||
filter = NULL, | ||
initialize = function(filter, cswVersion = "2.0.2"){ | ||
nsName <- names(private$xmlNamespace) | ||
private$xmlNamespace = paste(private$xmlNamespace, cswVersion, sep="/") | ||
names(private$xmlNamespace) <- nsName | ||
super$initialize(attrs = list(version = "1.1.0")) | ||
if(!is(filter, "OGCFilter")){ | ||
stop("The argument should be an object of class 'OGCFilter'") | ||
} | ||
self$filter = filter | ||
} | ||
) | ||
) |
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,32 @@ | ||
#' CSWRecordProperty | ||
#' @docType class | ||
#' @export | ||
#' @keywords CSW RecordProperty | ||
#' @return Object of \code{\link{R6Class}} for modelling an CSW RecordProperty | ||
#' @format \code{\link{R6Class}} object. | ||
#' @section Methods: | ||
#' \describe{ | ||
#' \item{\code{new(name, value)}}{ | ||
#' This method is used to instantiate an CSWRecordProperty object. | ||
#' } | ||
#' } | ||
CSWRecordProperty <- R6Class("CSWRecordProperty", | ||
inherit = OGCAbstractObject, | ||
private = list( | ||
xmlElement = "RecordProperty", | ||
xmlNamespace = c(csw = "http://www.opengis.net/cat/csw") | ||
), | ||
public = list( | ||
wrap = TRUE, | ||
Name = NULL, | ||
Value = NULL, | ||
initialize = function(name, value, cswVersion = "2.0.2"){ | ||
nsName <- names(private$xmlNamespace) | ||
private$xmlNamespace = paste(private$xmlNamespace, cswVersion, sep="/") | ||
names(private$xmlNamespace) <- nsName | ||
super$initialize() | ||
self$Name = name | ||
self$Value = value | ||
} | ||
) | ||
) |
Oops, something went wrong.