Skip to content

Commit

Permalink
#39 fix bug in CSW - getRecordById for ISO 19110
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 26, 2020
1 parent a672b14 commit 2e8ac2a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ows4R
Version: 0.1-5
Date: 2020-03-09
Date: 2020-05-26
Title: Interface to OGC Web-Services (OWS)
Authors@R: c(person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "emmanuel.blondel1@gmail.com", comment = c(ORCID = "0000-0002-5870-5762")),
person("Norbert", "Billet", role = c("ctb")))
Expand Down
3 changes: 2 additions & 1 deletion R/CSWGetRecordById.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,12 @@ CSWGetRecordById <- R6Class("CSWGetRecordById",
},
"http://www.isotc211.org/2005/gfc" = {
out <- NULL
print(private$response)
xmlObjs <- getNodeSet(private$response, "//ns:FC_FeatureCatalogue", c(ns = outputSchema))
if(length(xmlObjs)>0){
xmlObj <- xmlObjs[[1]]
out <- geometa::ISOFeatureCatalogue$new()
out$decode(xml = xml)
out$decode(xml = xmlObj)
}
out
},
Expand Down
2 changes: 1 addition & 1 deletion R/ows4R.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' Type: \tab Package\cr
#' Version
#' : \tab 0.1-5\cr
#' Date: \tab 2020-03-09\cr
#' Date: \tab 2020-05-26\cr
#' License: \tab MIT\cr
#' LazyLoad: \tab yes\cr
#' }
Expand Down
2 changes: 1 addition & 1 deletion man/ows4R.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2e8ac2a

Please sign in to comment.