Skip to content

Commit 870127c

Browse files
committed
fix #154
1 parent 4604304 commit 870127c

3 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎NEWS.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
- [#151](https://github.com/eblondel/ows4R/issues/151) WCS Improve getCoverage exception handling
77
- [#152](https://github.com/eblondel/ows4R/issues/152) WFS GetFeatures always return a missing CRS
88

9+
**Enhancements**
10+
11+
- [#154](https://github.com/eblondel/ows4R/issues/154) CSW - INSPIRE metadata validator does not need API key anymore
12+
913
## [ows4R 0.5](https://github.com/eblondel/ows4R) | [![CRAN_Status_Badge](https://img.shields.io/badge/CRAN-published-blue.svg)](https://github.com/eblondel/ows4R)
1014

1115
**Corrections**

‎R/OGCAbstractObject.R‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,17 @@ OGCAbstractObject <- R6Class("OGCAbstractObject",
326326

327327
#'@description Encodes as XML. The \code{addNS} .
328328
#' Extra parameters related to \pkg{geometa} objects: \code{geometa_validate} (TRUE by default) and \code{geometa_inspire}
329-
#' (FALSE by default) can be used to perform ISO and INSPIRE validation respectively. In that case on object of class
330-
#' \code{geometa::INSPIREMetadataValidator}, with a proper user API key, should be specified as \code{geometa_inspireValidator}
331-
#' argument.
329+
#' (FALSE by default) can be used to perform ISO and INSPIRE validation respectively.
332330
#'@param addNS addNS controls the addition of XML namespaces
333331
#'@param geometa_validate Relates to \pkg{geometa} object ISO validation. Default is \code{TRUE}
334332
#'@param geometa_inspire Relates to \pkg{geometa} object INSPIRE validation. Default is \code{FALSE}
335-
#'@param geometa_inspireValidator Relates to \pkg{geometa} object INSPIRE validation. Default is \code{NULL}
333+
#'@param geometa_inspireValidator Relates to \pkg{geometa} object INSPIRE validation. Default is \code{NULL}. Deprecated, see
334+
#'below note.
336335
#'@return an object of class \link[XML]{XMLInternalNode-class} from \pkg{XML}
336+
#'
337+
#'@note From 2025-05-02, the INSPIRE metadata validation does not require anymore an API Key. Therefore, it is not
338+
#'required to specify an \code{geometa_inspireValidator}. To send your metadata to INSPIRE, just set \code{geometa_inspire}
339+
#'to \code{TRUE}.
337340
encode = function(addNS = TRUE, geometa_validate = TRUE,
338341
geometa_inspire = FALSE, geometa_inspireValidator = NULL){
339342

‎man/OGCAbstractObject.Rd‎

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)