Skip to content

Commit

Permalink
ensure field is part of data otherwise try to grab it from fto
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 10, 2024
1 parent d67e662 commit d277c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/actions/geometa_create_iso_19110.R
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ function(action, entity, config){
}

#add primitive type + data type (attribute or variable) as valueType
fat_type <- if(build_catalog_from_features){
fat_type <- if(build_catalog_from_features & !is.null(featureAttrValues[1])){
switch(class(featureAttrValues[1])[1],
"integer" = "xsd:int",
"numeric" = "xsd:decimal",
Expand Down

0 comments on commit d277c1d

Please sign in to comment.