Skip to content

Commit fcd2326

Browse files
committed
add geoflow namespace in actions
1 parent 92130c1 commit fcd2326

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

inst/actions/geometa_create_iso_19115.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function(action, entity, config){
8787

8888
if(include_object_identification_ids){
8989
rp_id = paste(roleId, tolower(x$email), sep = "_")
90-
rp$setAttr("id", create_object_identification_id("party", rp_id))
90+
rp$setAttr("id", geoflow::create_object_identification_id("party", rp_id))
9191
}
9292
return(rp)
9393
}
@@ -362,7 +362,7 @@ function(action, entity, config){
362362
fileDescription = thumbnail$description
363363
)
364364
thumbnail_id = paste(tolower(entity$identifiers[["id"]]), "thumbnail", tolower(thumbnail$link),sep="_")
365-
if(include_object_identification_ids) go$setAttr("id", create_object_identification_id("browsegraphic", thumbnail_id))
365+
if(include_object_identification_ids) go$setAttr("id", geoflow::create_object_identification_id("browsegraphic", thumbnail_id))
366366
ident$addGraphicOverview(go)
367367
}
368368
}
@@ -845,7 +845,7 @@ function(action, entity, config){
845845
doi_desc = set_i18n(term_key = "doi")
846846
doi_or$setDescription(doi_desc, locales = geoflow::get_locales_from(doi_desc))
847847
doi_or$setProtocol("WWW:LINK-1.0-http--link")
848-
if(include_object_identification_ids) doi_or$setAttr("id", create_object_identification_id("onlineresource", the_doi))
848+
if(include_object_identification_ids) doi_or$setAttr("id", geoflow::create_object_identification_id("onlineresource", the_doi))
849849
dto$addOnlineResource(doi_or)
850850
}
851851

@@ -911,7 +911,7 @@ function(action, entity, config){
911911

912912
if(include_object_identification_ids) if(any(sapply(c("wms", "wfs", "wcs","download"), function(x){startsWith(http_relation$key, x)}))) {
913913
resource_id = paste(tolower(entity$identifiers[["id"]]), http_relation$key, if(!is.null(mimeType)) mimeType else "", tolower(http_relation$name),sep="_")
914-
or$setAttr("id", create_object_identification_id("onlineresource", resource_id))
914+
or$setAttr("id", geoflow::create_object_identification_id("onlineresource", resource_id))
915915
}
916916

917917
dto$onLine = c(dto$onLine,or)

0 commit comments

Comments
 (0)