Skip to content

Commit

Permalink
fix csw_record_url
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jul 26, 2023
1 parent 0afb53f commit afe8a98
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions inst/metadata/entity/entity_handler_csw.R
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@ handle_entities_csw <- function(config, source, handle = TRUE){
}

#add origin metadata URL (CSW GetRecordById)
csw_record_url = sprintf(
"%s?service=CSW&request=GetRecordById&Version=%s&elementSetName=full&outputSchema=http%3A//www.isotc211.org/2005/gmd&id=%s",
CSW_CONFIG$parameters$url, CSW_CONFIG$parameters$serviceVersion, rec$fileIdentifier
csw_record_url = paste0(
CSW_CONFIG$parameters$url,
"?service=CSW&request=GetRecordById&Version=",
CSW_CONFIG$parameters$serviceVersion,
"&elementSetName=full&outputSchema=http%3A//www.isotc211.org/2005/gmd&id=",
rec$fileIdentifier
)
csw_record_rel = geoflow_relation$new()
csw_record_rel$setName("Source ISO 19115 metadata (CSW GetRecordById)")
Expand Down

0 comments on commit afe8a98

Please sign in to comment.