From a30f9cc07c7f4690afb43b836972cd1b689cdb46 Mon Sep 17 00:00:00 2001 From: eblondel Date: Tue, 31 May 2022 09:46:04 +0200 Subject: [PATCH] more logs to iso 19110 action --- R/geoflow_action_geometa_create_iso_19110.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/geoflow_action_geometa_create_iso_19110.R b/R/geoflow_action_geometa_create_iso_19110.R index d23d3cf3..17e83799 100644 --- a/R/geoflow_action_geometa_create_iso_19110.R +++ b/R/geoflow_action_geometa_create_iso_19110.R @@ -220,6 +220,7 @@ geometa_create_iso_19110 <- function(entity, config, options){ } } if(addValues){ + config$logger.info(sprintf("Listing values for feature Attribute '%s'...", featureAttrName)) featureAttrValues <- unique(featureAttrValues) featureAttrValues <- featureAttrValues[order(featureAttrValues)] for(featureAttrValue in featureAttrValues){ @@ -244,6 +245,8 @@ geometa_create_iso_19110 <- function(entity, config, options){ fat$listedValue <- c(fat$listedValue, val) } } + }else{ + config$logger.warn(sprintf("Skip listing values for feature Attribute '%s'...", featureAttrName)) } #add primitive type + data type (attribute or variable) as valueType