diff --git a/pkgdown.yml b/pkgdown.yml index f0135258..ce797fb9 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,4 +2,4 @@ pandoc: 3.1.11 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-10-01T21:33Z +last_built: 2024-10-01T22:24Z diff --git a/reference/ISOAbsoluteExternalPositionalAccuracy.html b/reference/ISOAbsoluteExternalPositionalAccuracy.html index ada63857..efd7dcd7 100644 --- a/reference/ISOAbsoluteExternalPositionalAccuracy.html +++ b/reference/ISOAbsoluteExternalPositionalAccuracy.html @@ -150,7 +150,7 @@
md <- ISOAnchor$new(name = "some entity name", href = "someentityuri")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOAnchor' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}Anchor': No matching global declaration available for the validation root at line 1.
+#> [geometa][WARN] Object 'ISOAnchor' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOAssociationType.html b/reference/ISOAssociationType.html
index 9b0a4396..a80f510e 100644
--- a/reference/ISOAssociationType.html
+++ b/reference/ISOAssociationType.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOAssociationType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#geomOnly
geomOnly <- ISOAssociationType$new(value = "source")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOBand.html b/reference/ISOBand.html
index 3fa3ec77..13fd1e93 100644
--- a/reference/ISOBand.html
+++ b/reference/ISOBand.html
@@ -340,7 +340,16 @@ #possible values
values <- ISOCellGeometry$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#example of 'point' cell geometry code
pointCode <- ISOCellGeometry$new(value = "point")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOCharacterSet.html b/reference/ISOCharacterSet.html
index 963fd682..3a48229c 100644
--- a/reference/ISOCharacterSet.html
+++ b/reference/ISOCharacterSet.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOCharacterSet$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some charset
charset <- ISOCharacterSet$new(value = "utf8")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOCitation.html b/reference/ISOCitation.html
index d660687f..d68029cb 100644
--- a/reference/ISOCitation.html
+++ b/reference/ISOCitation.html
@@ -654,7 +654,7 @@ #possible values
values <- ISOClassification$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#restricted classification
cl <- ISOClassification$new(value = "restricted")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOCompletenessCommission.html b/reference/ISOCompletenessCommission.html
index 983b28ef..b2eef990 100644
--- a/reference/ISOCompletenessCommission.html
+++ b/reference/ISOCompletenessCommission.html
@@ -150,7 +150,7 @@ md <- ISOConstraint$new(description = "description")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOConstraint' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gfc}FC_Constraint': No matching global declaration available for the validation root at line 1.
+#> [geometa][WARN] Object 'ISOConstraint' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOContact.html b/reference/ISOContact.html
index b7ff3ae0..ad0aae0e 100644
--- a/reference/ISOContact.html
+++ b/reference/ISOContact.html
@@ -231,7 +231,15 @@ #possible values
values <- ISOCouplingType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#couplingType
couplingType <- ISOCouplingType$new(value = "loose")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOCoverageContentType.html b/reference/ISOCoverageContentType.html
index 0782b308..dcb872dd 100644
--- a/reference/ISOCoverageContentType.html
+++ b/reference/ISOCoverageContentType.html
@@ -167,11 +167,11 @@ #possible values
values <- ISOCoverageContentType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#example of CoverageContentType
modelResultType <- ISOCoverageContentType$new(value = "modelResult")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOCoverageDescription.html b/reference/ISOCoverageDescription.html
index 48f2d984..9ef2a6f3 100644
--- a/reference/ISOCoverageDescription.html
+++ b/reference/ISOCoverageDescription.html
@@ -243,7 +243,7 @@ #possible values
values <- ISODCPList$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#example
javaDCP <- ISODCPList$new(value = "JAVA")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISODataFile.html b/reference/ISODataFile.html
index ac34c049..5d027528 100644
--- a/reference/ISODataFile.html
+++ b/reference/ISODataFile.html
@@ -298,7 +298,8 @@ #create dataIdentification
md <- ISODataIdentification$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setAbstract("abstract")
#> Error: object 'md' not found
md$setPurpose("purpose")
@@ -619,7 +619,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -646,14 +646,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015, 1, 1, 1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp)
#> [1] TRUE
md$setCitation(ct)
@@ -671,7 +671,7 @@ Examples
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceMaintenance(mi)
#> Error: object 'md' not found
@@ -684,13 +684,13 @@ Examples
lc$addUseLimitation("limitation3")
#> [1] TRUE
lc$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceConstraints(lc)
#> Error: object 'md' not found
@@ -709,7 +709,7 @@ Examples
kwds$addKeyword("keyword2")
#> [1] TRUE
kwds$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle("General")
th$addDate(d)
diff --git a/reference/ISODataQuality.html b/reference/ISODataQuality.html
index f27e2a20..1b4a75ff 100644
--- a/reference/ISODataQuality.html
+++ b/reference/ISODataQuality.html
@@ -222,7 +222,7 @@ Examples
dq <- ISODataQuality$new()
scope <- ISODataQualityScope$new()
scope$setLevel("dataset")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dq$setScope(scope)
#add data quality reports...
@@ -237,7 +237,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
spec$addDate(d)
result$setSpecification(spec)
result$setExplanation("some explanation about the conformance")
@@ -261,7 +261,7 @@ Examples
cr_inspire_date1 <- ISODate$new()
cr_inspire_date1$setDate(ISOdate(2010,12,8))
cr_inspire_date1$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec1$addDate(cr_inspire_date1)
cr_inspire1$setSpecification(cr_inspire_spec1)
cr_inspire1$setPass(TRUE)
@@ -281,7 +281,7 @@ Examples
cr_inspire_date2 <- ISODate$new()
cr_inspire_date2$setDate(ISOdate(2008,12,4))
cr_inspire_date2$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec2$addDate(cr_inspire_date2)
cr_inspire2$setSpecification(cr_inspire_spec2)
cr_inspire2$setPass(TRUE)
@@ -297,9 +297,23 @@ Examples
#xml
xml <- dq$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}DQ_Scope': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}level ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 12.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 15.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 20.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 18.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 27.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Boolean': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Boolean ) at line 30.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 43.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 48.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 46.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 55.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Boolean': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Boolean ) at line 58.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 71.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 76.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 74.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 83.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Boolean': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Boolean ) at line 86.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 95.
#> [geometa][WARN] Object 'ISODataQuality' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISODataQualityScope.html b/reference/ISODataQualityScope.html
index 0d180d5a..9ff84056 100644
--- a/reference/ISODataQualityScope.html
+++ b/reference/ISODataQualityScope.html
@@ -175,7 +175,7 @@ md <- ISODataQualityScope$new()
md$setLevel("dataset")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}DQ_Scope': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}level ) at line 1.
#> [geometa][WARN] Object 'ISODataQualityScope' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISODatatype.html b/reference/ISODatatype.html
index 72a8c038..0f28b125 100644
--- a/reference/ISODatatype.html
+++ b/reference/ISODatatype.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISODatatype$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#string Datatype
stringType <- ISODatatype$new(value = "characterString")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISODate.html b/reference/ISODate.html
index c1204ef6..95506c78 100644
--- a/reference/ISODate.html
+++ b/reference/ISODate.html
@@ -197,8 +197,9 @@ Examples
md <- ISODate$new()
md$setDate(ISOdate(2015, 1, 1, 1))
md$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 3.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 1.
#> [geometa][WARN] Object 'ISODate' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISODateType.html b/reference/ISODateType.html
index 6d80d245..12a17ff9 100644
--- a/reference/ISODateType.html
+++ b/reference/ISODateType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISODateType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#creation datetype
creation <- ISODateType$new(value = "creation")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISODigitalTransferOptions.html b/reference/ISODigitalTransferOptions.html
index 84dfce6f..0e90b1b9 100644
--- a/reference/ISODigitalTransferOptions.html
+++ b/reference/ISODigitalTransferOptions.html
@@ -338,7 +338,10 @@ Examples
#> [1] TRUE
xml <- md$encode()
-#> [geometa][INFO] Object 'ISODigitalTransferOptions' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 8.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 11.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 14.
+#> [geometa][WARN] Object 'ISODigitalTransferOptions' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISODimension.html b/reference/ISODimension.html
index 8a84ae81..786a9fe2 100644
--- a/reference/ISODimension.html
+++ b/reference/ISODimension.html
@@ -219,7 +219,7 @@ #create dimension
md <- ISODimension$new()
md$setName("row")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setSize(1)
md$setResolution(ISOLength$new(value=1,uom="m"))
xml <- md$encode()
diff --git a/reference/ISODimensionNameType.html b/reference/ISODimensionNameType.html
index 223c934b..51764643 100644
--- a/reference/ISODimensionNameType.html
+++ b/reference/ISODimensionNameType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISODimensionNameType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#row DimensionNameType
rowType <- ISODimensionNameType$new(value = "row")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
unit <- ISODistributionUnits$new(value = "unit")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in super$initialize(xml = xml, id = private$xmlElement, value = value, description = description): No ISO codelist for identifier 'MD_DistributionUnits'
#possible values
values <- ISOEvaluationMethodType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#example of EvaluationMethodType
indirect <- ISOEvaluationMethodType$new(value = "indirect")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOExtendedElementInformation.html b/reference/ISOExtendedElementInformation.html
index 2dfa816d..e82e3041 100644
--- a/reference/ISOExtendedElementInformation.html
+++ b/reference/ISOExtendedElementInformation.html
@@ -535,10 +535,10 @@ md <- ISOFileName$new(file = "someuri", name = "filename")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOFileName' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}FileName': No matching global declaration available for the validation root at line 1.
+#> [geometa][WARN] Object 'ISOFileName' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOFormatConsistency.html b/reference/ISOFormatConsistency.html
index 53ad5e4b..e5052055 100644
--- a/reference/ISOFormatConsistency.html
+++ b/reference/ISOFormatConsistency.html
@@ -150,7 +150,7 @@ md <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOGeographicBoundingBox' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 6.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 9.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 12.
+#> [geometa][WARN] Object 'ISOGeographicBoundingBox' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOGeographicDescription.html b/reference/ISOGeographicDescription.html
index 341d3340..e529559c 100644
--- a/reference/ISOGeographicDescription.html
+++ b/reference/ISOGeographicDescription.html
@@ -175,7 +175,8 @@ md <- ISOGeographicDescription$new()
md$setGeographicIdentifier(ISOMetaIdentifier$new(code = "identifier"))
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOGeographicDescription' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 5.
+#> [geometa][WARN] Object 'ISOGeographicDescription' is INVALID according to ISO 19139 XML schemas!
#possible values
values <- ISOGeometricObjectType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#point type
pt <- ISOGeometricObjectType$new(value = "point")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOGeometricObjects.html b/reference/ISOGeometricObjects.html
index 2a77d93e..166c30e6 100644
--- a/reference/ISOGeometricObjects.html
+++ b/reference/ISOGeometricObjects.html
@@ -196,7 +196,7 @@ md <- ISOGeometricObjects$new()
md$setGeometricObjectType("surface")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setGeometricObjectCount(5L)
xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}geometricObjectCount': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gmd}geometricObjectType ) at line 2.
diff --git a/reference/ISOGeoreferenceable.html b/reference/ISOGeoreferenceable.html
index 43bbd2b8..842c23cc 100644
--- a/reference/ISOGeoreferenceable.html
+++ b/reference/ISOGeoreferenceable.html
@@ -299,13 +299,13 @@ Examples
md$setNumberOfDimensions(1)
dim1 <- ISODimension$new()
dim1$setName("row")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dim1$setSize(100)
dim1$setResolution(ISOMeasure$new(value=1,uom="m"))
md$addDimension(dim1)
#> [1] TRUE
md$setCellGeometry("area")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
#parameters
md$setControlPointAvailability(TRUE)
@@ -318,6 +318,7 @@ Examples
#> [1] TRUE
xml <- md$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 3.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}dimensionSize': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gmd}dimensionName ) at line 7.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}controlPointAvailability': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gmd}axisDimensionProperties, {http://www.isotc211.org/2005/gmd}cellGeometry ) at line 15.
#> [geometa][WARN] Object 'ISOGeoreferenceable' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOGridSpatialRepresentation.html b/reference/ISOGridSpatialRepresentation.html
index 67f54c6b..8d4feb7e 100644
--- a/reference/ISOGridSpatialRepresentation.html
+++ b/reference/ISOGridSpatialRepresentation.html
@@ -267,14 +267,15 @@ Examples
md$setNumberOfDimensions(1)
dim1 <- ISODimension$new()
dim1$setName("row")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dim1$setSize(100)
dim1$setResolution(ISOMeasure$new(value=1,uom="m"))
md$addDimension(dim1)
#> [1] TRUE
md$setCellGeometry("area")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 3.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}dimensionSize': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gmd}dimensionName ) at line 7.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}MD_GridSpatialRepresentation': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}axisDimensionProperties, {http://www.isotc211.org/2005/gmd}cellGeometry ) at line 1.
#> [geometa][WARN] Object 'ISOGridSpatialRepresentation' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOGriddedDataPositionalAccuracy.html b/reference/ISOGriddedDataPositionalAccuracy.html
index 81116849..5be01a53 100644
--- a/reference/ISOGriddedDataPositionalAccuracy.html
+++ b/reference/ISOGriddedDataPositionalAccuracy.html
@@ -150,7 +150,7 @@ Examples
dq$setMeasureDescription("description")
dq$setEvaluationMethodDescription("method description")
dq$setEvaluationMethodType("indirect")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dq$setDateTime(ISOdate(2015,1,1,12,10,49))
spec <- ISOCitation$new()
spec$setTitle("specification title")
@@ -159,7 +159,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
spec$addDate(d)
dq$setEvaluationProcedure(spec)
result <- ISOConformanceResult$new()
@@ -169,8 +169,21 @@ Examples
dq$addResult(result)
#> [1] TRUE
xml <- dq$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 8.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 13.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 16.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 21.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 24.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 29.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 27.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}DateTime ) at line 36.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 43.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 46.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 51.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 49.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 58.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Boolean': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Boolean ) at line 61.
#> [geometa][WARN] Object 'ISOGriddedDataPositionalAccuracy' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOImageDescription.html b/reference/ISOImageDescription.html
index a2d4c0c0..e5c01663 100644
--- a/reference/ISOImageDescription.html
+++ b/reference/ISOImageDescription.html
@@ -420,7 +420,7 @@ md = ISOImageryAcquisitionInformation$new()
xml <- md$encode()
-#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_AcquisitionInformation': No matching global declaration available for the validation root at line 1.
+#> Namespace prefix gmi on MI_AcquisitionInformation is not defined
+#> [geometa][WARN] Element 'gmi:MI_AcquisitionInformation': No matching global declaration available for the validation root at line 1.
#> [geometa][WARN] Object 'ISOImageryAcquisitionInformation' is INVALID according to ISO 19139 XML schemas!
#possible values
values <- ISOImageryBandDefinition$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
fiftyp <- ISOImageryBandDefinition$new(value = "fiftyPercent")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryContext.html b/reference/ISOImageryContext.html
index 5c3ea076..7cf95324 100644
--- a/reference/ISOImageryContext.html
+++ b/reference/ISOImageryContext.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOImageryContext$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
acquisition <- ISOImageryContext$new(value = "acquisition")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryCoverageDescription.html b/reference/ISOImageryCoverageDescription.html
index a19fc15d..d5a5385c 100644
--- a/reference/ISOImageryCoverageDescription.html
+++ b/reference/ISOImageryCoverageDescription.html
@@ -205,7 +205,7 @@ md <- ISOImageryEvent$new()
md$setIdentifier("event_1")
md$setTrigger("manual")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setContext("pass")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setSequence("instantaneous")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setTime(Sys.time())
xml <- md$encode()
diff --git a/reference/ISOImageryGeometryType.html b/reference/ISOImageryGeometryType.html
index 099f6e5e..508f3fd5 100644
--- a/reference/ISOImageryGeometryType.html
+++ b/reference/ISOImageryGeometryType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImageryGeometryType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
point <- ISOImageryGeometryType$new(value = "point")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
#example 1 - WRITE: Create an ISO metadata and encode it as XML
#######################################################
md = ISOImageryMetadata$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setFileIdentifier("my-metadata-identifier")
#> Error: object 'md' not found
md$setParentIdentifier("my-parent-metadata-identifier")
@@ -279,15 +279,15 @@ Examples
rp$setContactInfo(contact)
md$addContact(rp)
}
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
#VectorSpatialRepresentation
vsr <- ISOVectorSpatialRepresentation$new()
vsr$setTopologyLevel("geometryOnly")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject <- ISOGeometricObjects$new()
geomObject$setGeometricObjectType("surface")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject$setGeometricObjectCount(5L)
vsr$addGeometricObjects(geomObject)
#> [1] TRUE
@@ -303,7 +303,7 @@ Examples
#data identification
ident <- ISODataIdentification$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$setAbstract("abstract")
#> Error: object 'ident' not found
ident$setPurpose("purpose")
@@ -331,7 +331,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -358,14 +358,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp)
#> [1] TRUE
ident$setCitation(ct)
@@ -390,7 +390,7 @@ Examples
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$addResourceMaintenance(mi)
#> Error: object 'ident' not found
@@ -403,20 +403,20 @@ Examples
lc$addUseLimitation("limitation3")
#> [1] TRUE
lc$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$addResourceConstraints(lc)
#> Error: object 'ident' not found
#adding security constraints
sc <- ISOSecurityConstraints$new()
sc$setClassification("secret")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
sc$setUserNote("ultra secret")
sc$setClassificationSystem("no classification in particular")
sc$setHandlingDescription("description")
@@ -438,7 +438,7 @@ Examples
kwds$addKeyword("keyword2")
#> [1] TRUE
kwds$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle("General")
th$addDate(d)
@@ -455,7 +455,7 @@ Examples
inspire_kwd$addKeyword(anc1)
#> [1] TRUE
inspire_kwd$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle(
ISOAnchor$new(
@@ -466,7 +466,7 @@ Examples
inspire_date <- ISODate$new()
inspire_date$setDate(as.Date("2008-06-01"))
inspire_date$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th$addDate(inspire_date)
inspire_kwd$setThesaurusName(th)
ident$addKeywords(inspire_kwd)
@@ -502,7 +502,7 @@ Examples
#create dataQuality object with a 'dataset' scope
dq <- ISODataQuality$new()
scope <- ISOScope$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in initialize(...): argument "value" is missing, with no default
scope$setLevel("dataset")
#> Error: object 'scope' not found
dq$setScope(scope)
@@ -520,7 +520,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
spec$addDate(d)
result$setSpecification(spec)
result$setExplanation("some explanation about the conformance")
@@ -544,7 +544,7 @@ Examples
cr_inspire_date1 <- ISODate$new()
cr_inspire_date1$setDate(ISOdate(2010,12,8))
cr_inspire_date1$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec1$addDate(cr_inspire_date1)
cr_inspire1$setSpecification(cr_inspire_spec1)
cr_inspire1$setPass(TRUE)
@@ -564,7 +564,7 @@ Examples
cr_inspire_date2 <- ISODate$new()
cr_inspire_date2$setDate(ISOdate(2008,12,4))
cr_inspire_date2$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec2$addDate(cr_inspire_date2)
cr_inspire2$setSpecification(cr_inspire_spec2)
cr_inspire2$setPass(TRUE)
@@ -593,7 +593,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cit$addDate(d)
cit$setEdition("1.0")
cit$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
@@ -603,7 +603,7 @@ Examples
contact$setOnlineResource(fcLink)
rp = ISOResponsibleParty$new()
rp$setRole("publisher")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
rp$setContactInfo(contact)
cit$addCitedResponsibleParty(rp)
#> [1] TRUE
@@ -624,7 +624,7 @@ Examples
xmlfile <- system.file("extdata/examples", "metadata.xml", package = "geometa")
xml <- xmlParse(xmlfile)
md <- ISOImageryMetadata$new(xml = xml)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
# }
#possible values
values <- ISOImageryObjectiveType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
survey <- ISOImageryObjectiveType$new(value = "survey")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryOperationType.html b/reference/ISOImageryOperationType.html
index 1644c16f..5dc41f7f 100644
--- a/reference/ISOImageryOperationType.html
+++ b/reference/ISOImageryOperationType.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOImageryOperationType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
real <- ISOImageryOperationType$new(value = "real")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryPlan.html b/reference/ISOImageryPlan.html
index 36070bf9..1a52ad2f 100644
--- a/reference/ISOImageryPlan.html
+++ b/reference/ISOImageryPlan.html
@@ -310,9 +310,9 @@ md <- ISOImageryPlan$new()
md$setType("point")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setStatus("completed")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
#add citation
rp1 <- ISOResponsibleParty$new()
@@ -320,7 +320,7 @@ Examples
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
@@ -345,14 +345,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
md$setCitation(ct)
diff --git a/reference/ISOImageryPlatform.html b/reference/ISOImageryPlatform.html
index 9c259551..1da6cb61 100644
--- a/reference/ISOImageryPlatform.html
+++ b/reference/ISOImageryPlatform.html
@@ -343,7 +343,7 @@ Examples
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
@@ -368,14 +368,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
md$addCitation(ct)
diff --git a/reference/ISOImageryPolarisationOrientation.html b/reference/ISOImageryPolarisationOrientation.html
index f9c637a6..094454b5 100644
--- a/reference/ISOImageryPolarisationOrientation.html
+++ b/reference/ISOImageryPolarisationOrientation.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImageryPolarisationOrientation$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
h <- ISOImageryPolarisationOrientation$new(value = "horizontal")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryPriority.html b/reference/ISOImageryPriority.html
index 4b5c680e..68fecddc 100644
--- a/reference/ISOImageryPriority.html
+++ b/reference/ISOImageryPriority.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImageryPriority$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
highImp <- ISOImageryPriority$new(value = "highImportance")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryProcessStep.html b/reference/ISOImageryProcessStep.html
index 73d66de4..0fe50224 100644
--- a/reference/ISOImageryProcessStep.html
+++ b/reference/ISOImageryProcessStep.html
@@ -289,7 +289,7 @@ Examples
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
@@ -314,14 +314,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
diff --git a/reference/ISOImageryProcessing.html b/reference/ISOImageryProcessing.html
index 320d8138..c813a356 100644
--- a/reference/ISOImageryProcessing.html
+++ b/reference/ISOImageryProcessing.html
@@ -367,7 +367,7 @@ Examples
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
@@ -392,14 +392,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
diff --git a/reference/ISOImageryRequirement.html b/reference/ISOImageryRequirement.html
index d63a7893..a91e4ca5 100644
--- a/reference/ISOImageryRequirement.html
+++ b/reference/ISOImageryRequirement.html
@@ -403,7 +403,7 @@ Examples
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
@@ -425,7 +425,7 @@ Examples
rp2$setOrganisationName("somewhere2")
rp2$setPositionName("someposition2")
rp2$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact2 <- ISOContact$new()
phone2 <- ISOTelephone$new()
phone2$setVoice("myphonenumber2")
@@ -447,14 +447,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
md$setCitation(ct)
@@ -463,7 +463,7 @@ Examples
md$addRecipient(rp2)
#> [1] TRUE
md$setPriority("highImportance")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
rd <- ISOImageryRequestedDate$new()
rd$setRequestedDateOfCollection(Sys.time())
diff --git a/reference/ISOImagerySequence.html b/reference/ISOImagerySequence.html
index 53e093b7..a669670f 100644
--- a/reference/ISOImagerySequence.html
+++ b/reference/ISOImagerySequence.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImagerySequence$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
inst <- ISOImagerySequence$new(value = "instantaneous")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryTransferFunctionType.html b/reference/ISOImageryTransferFunctionType.html
index e62c540f..23cd48a4 100644
--- a/reference/ISOImageryTransferFunctionType.html
+++ b/reference/ISOImageryTransferFunctionType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImageryTransferFunctionType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
log <- ISOImageryTransferFunctionType$new(value = "logarithmic")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImageryTrigger.html b/reference/ISOImageryTrigger.html
index 3c223444..22c4de62 100644
--- a/reference/ISOImageryTrigger.html
+++ b/reference/ISOImageryTrigger.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImageryTrigger$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some def
auto <- ISOImageryTrigger$new(value = "automatic")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOImagingCondition.html b/reference/ISOImagingCondition.html
index 8122af6e..1254586a 100644
--- a/reference/ISOImagingCondition.html
+++ b/reference/ISOImagingCondition.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOImagingCondition$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#ImagingCondition
ImagingCondition <- ISOImagingCondition$new(value = "rain")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOInitiativeType.html b/reference/ISOInitiativeType.html
index 27a3f977..f2be0f92 100644
--- a/reference/ISOInitiativeType.html
+++ b/reference/ISOInitiativeType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOInitiativeType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#geomOnly
geomOnly <- ISOInitiativeType$new(value = "campaign")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOKeywordType.html b/reference/ISOKeywordType.html
index 2f8f8849..848ce20b 100644
--- a/reference/ISOKeywordType.html
+++ b/reference/ISOKeywordType.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOKeywordType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#place keywordType
place <- ISOKeywordType$new(value = "place")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOKeywords.html b/reference/ISOKeywords.html
index ca87319c..63f7fccc 100644
--- a/reference/ISOKeywords.html
+++ b/reference/ISOKeywords.html
@@ -255,11 +255,14 @@ Examples
md$addKeyword("keyword2")
#> [1] TRUE
md$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle("General")
md$setThesaurusName(th)
xml <- md$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 6.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 11.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Citation': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}alternateTitle, {http://www.isotc211.org/2005/gmd}date ) at line 9.
#> [geometa][WARN] Object 'ISOKeywords' is INVALID according to ISO 19139 XML schemas!
@@ -278,9 +281,11 @@ Examples
md$addKeyword(kwd2)
#> [1] TRUE
md$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOKeywords' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}Anchor': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}Anchor': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 6.
+#> [geometa][WARN] Object 'ISOKeywords' is INVALID according to ISO 19139 XML schemas!
#Example for INSPIRE (GEMET Spatial Data Theme)
inspire_kwd <- ISOKeywords$new()
@@ -291,7 +296,7 @@ Examples
inspire_kwd$addKeyword(anc1)
#> [1] TRUE
inspire_kwd$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle(
ISOAnchor$new(
@@ -302,7 +307,7 @@ Examples
inspire_date <- ISODate$new()
inspire_date$setDate(as.Date("2008-06-01"))
inspire_date$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th$addDate(inspire_date)
inspire_kwd$setThesaurusName(th)
diff --git a/reference/ISOLanguage.html b/reference/ISOLanguage.html
index 0b86a6bd..8521c580 100644
--- a/reference/ISOLanguage.html
+++ b/reference/ISOLanguage.html
@@ -158,11 +158,10 @@ Arguments #possible values
values <- ISOLanguage$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#english language
eng <- ISOLanguage$new(value = "eng")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
diff --git a/reference/ISOLegalConstraints.html b/reference/ISOLegalConstraints.html
index 5294d586..e36d40b1 100644
--- a/reference/ISOLegalConstraints.html
+++ b/reference/ISOLegalConstraints.html
@@ -309,16 +309,19 @@ Examples
md$addUseLimitation("limitation3")
#> [1] TRUE
md$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOLegalConstraints' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 6.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 9.
+#> [geometa][WARN] Object 'ISOLegalConstraints' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOLineage.html b/reference/ISOLineage.html
index 97df234f..9e739bf6 100644
--- a/reference/ISOLineage.html
+++ b/reference/ISOLineage.html
@@ -304,8 +304,22 @@ loc <- ISOLocale$new()
loc$setId("eng")
loc$setLanguage("eng")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
loc$setCountry("UK")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
loc$setCharacterSet("utf8")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
str <- ISOLocalisedCharacterString$new(locale = "FR", value = "ma description")
str$encode()
#> [geometa][INFO] Object 'ISOLocalisedCharacterString' is VALID according to ISO 19139 XML schemas!
-#> <gmd:LocalisedCharacterString xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" locale="#FR">ma description</gmd:LocalisedCharacterString>
+#> <gmd:LocalisedCharacterString xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" locale="#FR">ma description</gmd:LocalisedCharacterString>
#possible values
values <- ISOMaintenanceFrequency$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#daily frequency
daily <- ISOMaintenanceFrequency$new(value = "daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOMaintenanceInformation.html b/reference/ISOMaintenanceInformation.html
index 8e9976a2..01ea57f0 100644
--- a/reference/ISOMaintenanceInformation.html
+++ b/reference/ISOMaintenanceInformation.html
@@ -175,7 +175,7 @@ md <- ISOMaintenanceInformation$new()
md$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}MD_MaintenanceInformation': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}maintenanceAndUpdateFrequency ) at line 1.
#> [geometa][WARN] Object 'ISOMaintenanceInformation' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOMedium.html b/reference/ISOMedium.html
index 06a41a8d..c2b4fc1b 100644
--- a/reference/ISOMedium.html
+++ b/reference/ISOMedium.html
@@ -336,16 +336,20 @@ Arguments md <- ISOMedium$new()
md$setName("satellite")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addDensity(1.0)
#> [1] TRUE
md$setDensityUnits("string")
md$setVolumes(1L)
md$addMediumFormat("tar")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setMediumNote("some note")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOMedium' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Real': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Real ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 6.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 9.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 12.
+#> [geometa][WARN] Object 'ISOMedium' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOMediumFormat.html b/reference/ISOMediumFormat.html
index c5f2107f..0a347569 100644
--- a/reference/ISOMediumFormat.html
+++ b/reference/ISOMediumFormat.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOMediumFormat$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#MediumFormat
MediumFormat <- ISOMediumFormat$new(value = "tar")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOMediumName.html b/reference/ISOMediumName.html
index 38435f8a..001f299f 100644
--- a/reference/ISOMediumName.html
+++ b/reference/ISOMediumName.html
@@ -158,11 +158,11 @@ Arguments #possible values
values <- ISOMediumName$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#MediumName
MediumName <- ISOMediumName$new(value = "satellite")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOMetaIdentifier.html b/reference/ISOMetaIdentifier.html
index 225bfa88..bb0593e6 100644
--- a/reference/ISOMetaIdentifier.html
+++ b/reference/ISOMetaIdentifier.html
@@ -154,7 +154,8 @@ Arguments md <- ISOMetaIdentifier$new(code = "identifier")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOMetaIdentifier' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Object 'ISOMetaIdentifier' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOMetadata.html b/reference/ISOMetadata.html
index 673ec6d5..e9d0ccbf 100644
--- a/reference/ISOMetadata.html
+++ b/reference/ISOMetadata.html
@@ -950,7 +950,7 @@ Examples
#example 1 - WRITE: Create an ISO metadata and encode it as XML
#######################################################
md = ISOMetadata$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setFileIdentifier("my-metadata-identifier")
#> Error: object 'md' not found
md$setParentIdentifier("my-parent-metadata-identifier")
@@ -994,15 +994,15 @@ Examples
rp$setContactInfo(contact)
md$addContact(rp)
}
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
#VectorSpatialRepresentation
vsr <- ISOVectorSpatialRepresentation$new()
vsr$setTopologyLevel("geometryOnly")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject <- ISOGeometricObjects$new()
geomObject$setGeometricObjectType("surface")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject$setGeometricObjectCount(5L)
vsr$addGeometricObjects(geomObject)
#> [1] TRUE
@@ -1018,7 +1018,7 @@ Examples
#data identification
ident <- ISODataIdentification$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$setAbstract("abstract")
#> Error: object 'ident' not found
ident$setPurpose("purpose")
@@ -1046,7 +1046,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -1073,14 +1073,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp)
#> [1] TRUE
ident$setCitation(ct)
@@ -1105,7 +1105,7 @@ Examples
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$addResourceMaintenance(mi)
#> Error: object 'ident' not found
@@ -1118,20 +1118,20 @@ Examples
lc$addUseLimitation("limitation3")
#> [1] TRUE
lc$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ident$addResourceConstraints(lc)
#> Error: object 'ident' not found
#adding security constraints
sc <- ISOSecurityConstraints$new()
sc$setClassification("secret")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
sc$setUserNote("ultra secret")
sc$setClassificationSystem("no classification in particular")
sc$setHandlingDescription("description")
@@ -1153,7 +1153,7 @@ Examples
kwds$addKeyword("keyword2")
#> [1] TRUE
kwds$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle("General")
th$addDate(d)
@@ -1170,7 +1170,7 @@ Examples
inspire_kwd$addKeyword(anc1)
#> [1] TRUE
inspire_kwd$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle(
ISOAnchor$new(
@@ -1181,7 +1181,7 @@ Examples
inspire_date <- ISODate$new()
inspire_date$setDate(as.Date("2008-06-01"))
inspire_date$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th$addDate(inspire_date)
inspire_kwd$setThesaurusName(th)
ident$addKeywords(inspire_kwd)
@@ -1219,7 +1219,7 @@ Examples
dq <- ISODataQuality$new()
scope <- ISODataQualityScope$new()
scope$setLevel("dataset")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dq$setScope(scope)
#add data quality reports...
@@ -1234,7 +1234,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
spec$addDate(d)
result$setSpecification(spec)
result$setExplanation("some explanation about the conformance")
@@ -1258,7 +1258,7 @@ Examples
cr_inspire_date1 <- ISODate$new()
cr_inspire_date1$setDate(ISOdate(2010,12,8))
cr_inspire_date1$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec1$addDate(cr_inspire_date1)
cr_inspire1$setSpecification(cr_inspire_spec1)
cr_inspire1$setPass(TRUE)
@@ -1278,7 +1278,7 @@ Examples
cr_inspire_date2 <- ISODate$new()
cr_inspire_date2$setDate(ISOdate(2008,12,4))
cr_inspire_date2$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cr_inspire_spec2$addDate(cr_inspire_date2)
cr_inspire2$setSpecification(cr_inspire_spec2)
cr_inspire2$setPass(TRUE)
@@ -1307,7 +1307,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
cit$addDate(d)
cit$setEdition("1.0")
cit$setEditionDate(as.Date(ISOdate(2015, 1, 1, 1)))
@@ -1317,7 +1317,7 @@ Examples
contact$setOnlineResource(fcLink)
rp = ISOResponsibleParty$new()
rp$setRole("publisher")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
rp$setContactInfo(contact)
cit$addCitedResponsibleParty(rp)
#> [1] TRUE
@@ -1337,7 +1337,7 @@ Examples
xmlfile <- system.file("extdata/examples", "metadata.xml", package = "geometa")
xml <- xmlParse(xmlfile)
md <- ISOMetadata$new(xml = xml)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
# }
diff --git a/reference/ISOMetadataExtensionInformation.html b/reference/ISOMetadataExtensionInformation.html
index 5041e9bc..13ec27a6 100644
--- a/reference/ISOMetadataExtensionInformation.html
+++ b/reference/ISOMetadataExtensionInformation.html
@@ -225,10 +225,10 @@ Examples
elem$setDomainCode(1L)
elem$setDefinition("some definition")
elem$setObligation("mandatory")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
elem$setCondition("no condition")
elem$setDatatype("characterString")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
elem$setMaximumOccurrence("string")
elem$setDomainValue("value")
elem$addParentEntity("none")
@@ -241,7 +241,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -267,6 +267,28 @@ Examples
#> [1] TRUE
xml <- md$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 5.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 8.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 11.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 14.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 17.
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}dataType', attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason': The attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason' is not allowed at line 19.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 21.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 24.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 27.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 30.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 33.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 38.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 41.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 44.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 51.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 54.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 61.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 64.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 67.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 70.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 73.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 83.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_ResponsibleParty': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}role ) at line 36.
#> [geometa][WARN] Object 'ISOMetadataExtensionInformation' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOMimeFileType.html b/reference/ISOMimeFileType.html
index 614b7ca0..15f68967 100644
--- a/reference/ISOMimeFileType.html
+++ b/reference/ISOMimeFileType.html
@@ -191,7 +191,8 @@ Arguments md <- ISOMimeFileType$new(type = "somemimetype", name = "Mime type name")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOMimeFileType' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmx}MimeFileType': No matching global declaration available for the validation root at line 1.
+#> [geometa][WARN] Object 'ISOMimeFileType' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISONonQuantitativeAttributeAccuracy.html b/reference/ISONonQuantitativeAttributeAccuracy.html
index b0f0c817..54cb18d2 100644
--- a/reference/ISONonQuantitativeAttributeAccuracy.html
+++ b/reference/ISONonQuantitativeAttributeAccuracy.html
@@ -150,7 +150,7 @@ Examples
dq$setMeasureDescription("description")
dq$setEvaluationMethodDescription("method description")
dq$setEvaluationMethodType("indirect")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
dq$setDateTime(ISOdate(2015,1,1,12,10,49))
spec <- ISOCitation$new()
spec$setTitle("specification title")
@@ -159,7 +159,7 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
spec$addDate(d)
dq$setEvaluationProcedure(spec)
result <- ISOConformanceResult$new()
@@ -169,8 +169,21 @@ Examples
dq$addResult(result)
#> [1] TRUE
xml <- dq$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 8.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 13.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 16.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 21.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 24.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 29.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 27.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}DateTime ) at line 36.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 43.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 46.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}DateTime': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}Date, {http://www.isotc211.org/2005/gco}DateTime ) at line 51.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Date': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/gmd}dateType ) at line 49.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 58.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Boolean': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Boolean ) at line 61.
#> [geometa][WARN] Object 'ISONonQuantitativeAttributeAccuracy' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOObligation.html b/reference/ISOObligation.html
index b9551bf5..65c7c692 100644
--- a/reference/ISOObligation.html
+++ b/reference/ISOObligation.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOObligation$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#mandatory value
mandatory <- ISOObligation$new(value = "mandatory")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOOnLineFunction.html b/reference/ISOOnLineFunction.html
index e671ad03..19b042de 100644
--- a/reference/ISOOnLineFunction.html
+++ b/reference/ISOOnLineFunction.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOOnLineFunction$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#example
download <- ISOOnLineFunction$new(value = "download")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOOnlineResource.html b/reference/ISOOnlineResource.html
index d751347c..63ceda2f 100644
--- a/reference/ISOOnlineResource.html
+++ b/reference/ISOOnlineResource.html
@@ -275,9 +275,12 @@ md <- ISOOperationMetadata$new()
xml <- md$encode()
-#> [geometa][WARN] Element '{http://www.isotc211.org/2005/srv}SV_OperationMetadata': Missing child element(s). Expected is ( {http://www.isotc211.org/2005/srv}operationName ) at line 1.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/srv/2.0}SV_OperationMetadata': Missing child element(s). Expected is ( {http://standards.iso.org/iso/19115/-3/srv/2.0}operationName ) at line 1.
#> [geometa][WARN] Object 'ISOOperationMetadata' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOParameter.html b/reference/ISOParameter.html
index 5d29163f..627ad64b 100644
--- a/reference/ISOParameter.html
+++ b/reference/ISOParameter.html
@@ -297,13 +297,15 @@ md <- ISOParameter$new()
md$setName("name", "attType")
md$setDirection("in")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setDescription("description")
md$setOptionality(FALSE)
md$setRepeatability(FALSE)
md$setValueType("CharacterString")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOParameter' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}aName': This element is not expected. Expected is ( {http://standards.iso.org/iso/19115/-3/gco/1.0}MemberName ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/srv/2.0}description': This element is not expected. Expected is ( {http://standards.iso.org/iso/19115/-3/srv/2.0}direction ) at line 14.
+#> [geometa][WARN] Object 'ISOParameter' is INVALID according to ISO 19139 XML schemas!
#possible values
values <- ISOParameterDirection$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#paramDir
paramDir <- ISOParameterDirection$new(value = "in")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOPixelOrientation.html b/reference/ISOPixelOrientation.html
index 5bd6bd5c..8144b859 100644
--- a/reference/ISOPixelOrientation.html
+++ b/reference/ISOPixelOrientation.html
@@ -158,11 +158,11 @@ #possible values
values <- ISOPixelOrientation$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#PixelOrientation
PixelOrientation <- ISOPixelOrientation$new(value = "center")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOPortrayalCatalogueReference.html b/reference/ISOPortrayalCatalogueReference.html
index 6eae8f53..720c479f 100644
--- a/reference/ISOPortrayalCatalogueReference.html
+++ b/reference/ISOPortrayalCatalogueReference.html
@@ -204,7 +204,7 @@ #possible values
values <- ISOPresentationForm$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#mapDigital type
map <- ISOPresentationForm$new(value = "mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOProcessStep.html b/reference/ISOProcessStep.html
index 9be7f226..a6314ce6 100644
--- a/reference/ISOProcessStep.html
+++ b/reference/ISOProcessStep.html
@@ -323,6 +323,10 @@ #possible values
values <- ISOProgress$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#pending status
pending <- ISOProgress$new(value = "pending")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOQuantitativeAttributeAccuracy.html b/reference/ISOQuantitativeAttributeAccuracy.html
index 5cbe9e07..d6f23a9d 100644
--- a/reference/ISOQuantitativeAttributeAccuracy.html
+++ b/reference/ISOQuantitativeAttributeAccuracy.html
@@ -150,7 +150,7 @@ md <- ISOQuantitativeResult$new()
xml <- md$encode()
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}valueUnit', attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason': The attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason' is not allowed at line 2.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}DQ_QuantitativeResult': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}errorStatistic, {http://www.isotc211.org/2005/gmd}value ) at line 1.
#> [geometa][WARN] Object 'ISOQuantitativeResult' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISORangeDimension.html b/reference/ISORangeDimension.html
index c01f3d56..927efbda 100644
--- a/reference/ISORangeDimension.html
+++ b/reference/ISORangeDimension.html
@@ -202,7 +202,9 @@ Examples
md$setSequenceIdentifier(ISOMemberName$new(aName = "name", attributeType = "type"))
md$setDescriptor("descriptor")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISORangeDimension' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}MemberName': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}MemberName ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 17.
+#> [geometa][WARN] Object 'ISORangeDimension' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOReferenceIdentifier.html b/reference/ISOReferenceIdentifier.html
index 92b3fb19..a4cbb76e 100644
--- a/reference/ISOReferenceIdentifier.html
+++ b/reference/ISOReferenceIdentifier.html
@@ -203,7 +203,9 @@ md <- ISOReferenceIdentifier$new(code = "4326", codeSpace = "EPSG")
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOReferenceIdentifier' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 6.
+#> [geometa][WARN] Object 'ISOReferenceIdentifier' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOReferenceSystem.html b/reference/ISOReferenceSystem.html
index 6c0001cf..c6e87ada 100644
--- a/reference/ISOReferenceSystem.html
+++ b/reference/ISOReferenceSystem.html
@@ -184,7 +184,9 @@ fr <- ISORepresentativeFraction$new(denominator = 1L)
xml1 <- fr$encode()
-#> [geometa][INFO] Object 'ISORepresentativeFraction' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 3.
+#> [geometa][WARN] Object 'ISORepresentativeFraction' is INVALID according to ISO 19139 XML schemas!
fr$setDenominator(2L)
xml2 <- fr$encode()
-#> [geometa][INFO] Object 'ISORepresentativeFraction' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 3.
+#> [geometa][WARN] Object 'ISORepresentativeFraction' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOResolution.html b/reference/ISOResolution.html
index 51d87f63..86e25705 100644
--- a/reference/ISOResolution.html
+++ b/reference/ISOResolution.html
@@ -200,7 +200,8 @@ md <- ISOResolution$new()
md$setDistance(ISODistance$new(value = 1, uom = "m", useUomURI = TRUE))
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOResolution' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Distance': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Distance ) at line 3.
+#> [geometa][WARN] Object 'ISOResolution' is INVALID according to ISO 19139 XML schemas!
#possible values
values <- ISORestriction$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#copyright restriction
cr <- ISORestriction$new(value = "copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISORole.html b/reference/ISORole.html
index c070bd40..b130f44a 100644
--- a/reference/ISORole.html
+++ b/reference/ISORole.html
@@ -154,11 +154,11 @@ #possible values
values <- ISORole$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#publisher restriction
role <- ISORole$new(value = "publisher")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISORoleType.html b/reference/ISORoleType.html
index 156b4a54..326f1e7e 100644
--- a/reference/ISORoleType.html
+++ b/reference/ISORoleType.html
@@ -158,11 +158,11 @@ #possible values
values <- ISORoleType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#some charset
ordinaryType <- ISORoleType$new(value = "ordinary")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOSRVServiceIdentification.html b/reference/ISOSRVServiceIdentification.html
index 9820de82..ef643fbd 100644
--- a/reference/ISOSRVServiceIdentification.html
+++ b/reference/ISOSRVServiceIdentification.html
@@ -537,7 +537,7 @@ #encoding
md <- ISOSRVServiceIdentification$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setAbstract("abstract")
#> Error: object 'md' not found
md$setPurpose("purpose")
@@ -549,7 +549,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -576,14 +576,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp)
#> [1] TRUE
md$setCitation(ct)
@@ -601,7 +601,7 @@ Examples
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceMaintenance(mi)
#> Error: object 'md' not found
@@ -614,13 +614,13 @@ Examples
lc$addUseLimitation("limitation3")
#> [1] TRUE
lc$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceConstraints(lc)
#> Error: object 'md' not found
@@ -645,7 +645,7 @@ Examples
kwds$addKeyword("keyword2")
#> [1] TRUE
kwds$setKeywordType("theme")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
th <- ISOCitation$new()
th$setTitle("General")
th$addDate(d)
@@ -681,7 +681,7 @@ Examples
scriptOp <- ISOOperationMetadata$new()
scriptOp$setOperationName("Rscript")
scriptOp$addDCP("WebServices")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
scriptOp$setOperationDescription("WPS Execute")
scriptOp$setInvocationName("identifier")
for(i in 1:3){
@@ -694,11 +694,11 @@ Examples
param$setValueType("xs:string")
scriptOp$addParameter(param)
}
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
outParam <-ISOParameter$new()
outParam$setName("outputname", "xs:string")
outParam$setDirection("out")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
outParam$setDescription("outputdescription")
outParam$setOptionality(FALSE)
outParam$setRepeatability(FALSE)
@@ -718,7 +718,7 @@ Examples
wpsOp <- ISOOperationMetadata$new()
wpsOp$setOperationName("WPS:Execute")
wpsOp$addDCP("WebServices")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
wpsOp$setOperationDescription("WPS Execute")
invocationName <- "mywpsidentifier"
wpsOp$setInvocationName(invocationName)
@@ -732,11 +732,11 @@ Examples
param$setValueType("xs:string")
wpsOp$addParameter(param)
}
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
outParam <-ISOParameter$new()
outParam$setName("outputname", "xs:string")
outParam$setDirection("out")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
outParam$setDescription("outputdescription")
outParam$setOptionality(FALSE)
outParam$setRepeatability(FALSE)
diff --git a/reference/ISOScope.html b/reference/ISOScope.html
index 6315db83..c37ec871 100644
--- a/reference/ISOScope.html
+++ b/reference/ISOScope.html
@@ -159,11 +159,11 @@ Arguments #possible values
values <- ISOScope$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#dataset scope
ds <- ISOScope$new(value = "dataset")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOSecurityConstraints.html b/reference/ISOSecurityConstraints.html
index 7b052048..e8cafe45 100644
--- a/reference/ISOSecurityConstraints.html
+++ b/reference/ISOSecurityConstraints.html
@@ -260,7 +260,7 @@ Examples
#create object
md <- ISOSecurityConstraints$new()
md$setClassification("secret")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setUserNote("ultra secret")
md$setClassificationSystem("no classification in particular")
md$setHandlingDescription("description")
diff --git a/reference/ISOServiceIdentification.html b/reference/ISOServiceIdentification.html
index c864604e..bb6b9013 100644
--- a/reference/ISOServiceIdentification.html
+++ b/reference/ISOServiceIdentification.html
@@ -174,7 +174,7 @@ Arguments #encoding
md <- ISOServiceIdentification$new()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$setAbstract("abstract")
#> Error: object 'md' not found
md$setPurpose("purpose")
@@ -186,7 +186,7 @@ Examples
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
@@ -213,14 +213,14 @@ Examples
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
ct$addCitedResponsibleParty(rp)
#> [1] TRUE
md$setCitation(ct)
@@ -238,7 +238,7 @@ Examples
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceMaintenance(mi)
#> Error: object 'md' not found
@@ -251,13 +251,13 @@ Examples
lc$addUseLimitation("limitation3")
#> [1] TRUE
lc$addAccessConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addAccessConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("copyright")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
lc$addUseConstraint("license")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
md$addResourceConstraints(lc)
#> Error: object 'md' not found
diff --git a/reference/ISOSource.html b/reference/ISOSource.html
index cd58b35d..7927e7f7 100644
--- a/reference/ISOSource.html
+++ b/reference/ISOSource.html
@@ -352,7 +352,16 @@ Examples
src$addExtent(extent)
#> [1] TRUE
xml <- src$encode()
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Integer': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Integer ) at line 8.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 17.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 20.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}CharacterString': This element is not expected. Expected is one of ( {http://www.isotc211.org/2005/gco}CharacterString, {http://www.isotc211.org/2005/gmd}CI_RoleCode, {http://www.isotc211.org/2005/gmd}CI_PresentationFormCode, {http://www.isotc211.org/2005/gmd}CI_OnLineFunctionCode, {http://www.isotc211.org/2005/gmd}CI_DateTypeCode, {http://www.isotc211.org/2005/gmd}MD_PixelOrientationCode, {http://www.isotc211.org/2005/gmd}MD_TopologyLevelCode, {http://www.isotc211.org/2005/gmd}MD_GeometricObjectTypeCode, {http://www.isotc211.org/2005/gmd}MD_CellGeometryCode, {http://www.isotc211.org/2005/gmd}MD_DimensionNameTypeCode ) at line 29.
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}CI_Citation': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}alternateTitle, {http://www.isotc211.org/2005/gmd}date ) at line 27.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 38.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 41.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 44.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 47.
#> [geometa][WARN] Object 'ISOSource' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOSpatialRepresentationType.html b/reference/ISOSpatialRepresentationType.html
index 53629233..f0ac53c1 100644
--- a/reference/ISOSpatialRepresentationType.html
+++ b/reference/ISOSpatialRepresentationType.html
@@ -159,11 +159,11 @@ Arguments #possible values
values <- ISOSpatialRepresentationType$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#vector example
vectorRep <- ISORestriction$new(value = "vector")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOSpatialTemporalExtent.html b/reference/ISOSpatialTemporalExtent.html
index 9b1b8bde..3f9e1d83 100644
--- a/reference/ISOSpatialTemporalExtent.html
+++ b/reference/ISOSpatialTemporalExtent.html
@@ -210,7 +210,11 @@ Examples
#> [1] TRUE
xml <- md$encode()
-#> [geometa][INFO] Object 'ISOSpatialTemporalExtent' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 11.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 14.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 17.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Decimal': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Decimal ) at line 20.
+#> [geometa][WARN] Object 'ISOSpatialTemporalExtent' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/ISOStandardOrderProcess.html b/reference/ISOStandardOrderProcess.html
index 608b6618..9eff5505 100644
--- a/reference/ISOStandardOrderProcess.html
+++ b/reference/ISOStandardOrderProcess.html
@@ -253,7 +253,11 @@ #possible values
values <- ISOStatus$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#pending status
pending <- ISOStatus$new(value = "pending")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOTelephone.html b/reference/ISOTelephone.html
index ccdbed8d..569f911a 100644
--- a/reference/ISOTelephone.html
+++ b/reference/ISOTelephone.html
@@ -219,7 +219,7 @@ numberType
numberType object of class ISOTelephoneType or any character +
numberType object of class ISOTelephoneType or any character
among values returned by ISOTelephoneType$values()
ISOTelephoneType
+ISOTelephoneType
+R6Class
object.
Object of R6Class
for modelling an ISO TelephoneType
ISO 19115-3 - Geographic information – Metadata
+geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOCodeListValue
-> ISOTelephoneType
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
geometa::ISOCodeListValue$getAcceptedValues()
new()
Initializes object
ISOTelephoneType$new(xml = NULL, value, description = NULL)
xml
object of class XMLInternalNode-class
value
value
description
description
#possible values
+ values <- ISOTelephoneType$values(labels = TRUE)
+
+ #biota topic
+ biota <- ISOTelephoneType$new(value = "biota")
+#> Error in self$checkMetadataStandardCompliance(): Class 'ISOTelephoneType' can't be loaded with current metadata standard '19139'
+
+
#possible values
values <- ISOTopicCategory$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#biota topic
biota <- ISOTopicCategory$new(value = "biota")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOTopologicalConsistency.html b/reference/ISOTopologicalConsistency.html
index 1e0c3a13..34eed648 100644
--- a/reference/ISOTopologicalConsistency.html
+++ b/reference/ISOTopologicalConsistency.html
@@ -150,7 +150,7 @@ #possible values
values <- ISOTopologyLevel$values(labels = TRUE)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in getISOCodelist(element)$codeEntry[, fields]: incorrect number of dimensions
#geomOnly
geomOnly <- ISOTopologyLevel$new(value = "geometryOnly")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
diff --git a/reference/ISOVectorSpatialRepresentation.html b/reference/ISOVectorSpatialRepresentation.html
index 2421a873..eafa4254 100644
--- a/reference/ISOVectorSpatialRepresentation.html
+++ b/reference/ISOVectorSpatialRepresentation.html
@@ -242,10 +242,10 @@ md <- ISOVectorSpatialRepresentation$new()
md$setTopologyLevel("geometryOnly")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject1 <- ISOGeometricObjects$new()
geomObject1$setGeometricObjectType("surface")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in cl$codeEntry[cl$codeEntry$value == value, ]: incorrect number of dimensions
geomObject1$setGeometricObjectCount(5L)
md$addGeometricObjects(geomObject1)
#> [1] TRUE
diff --git a/reference/ISOVerticalExtent.html b/reference/ISOVerticalExtent.html
index c87d1ede..dde4c7c6 100644
--- a/reference/ISOVerticalExtent.html
+++ b/reference/ISOVerticalExtent.html
@@ -239,7 +239,10 @@ Examples
ve$setMinimumValue(0)
ve$setMaximumValue(19)
xml <- ve$encode()
-#> [geometa][INFO] Object 'ISOVerticalExtent' is VALID according to ISO 19139 XML schemas!
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Real': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Real ) at line 3.
+#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-3/gco/1.0}Real': This element is not expected. Expected is ( {http://www.isotc211.org/2005/gco}Real ) at line 6.
+#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}verticalCRS', attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason': The attribute '{http://standards.iso.org/iso/19115/-3/gco/1.0}nilReason' is not allowed at line 8.
+#> [geometa][WARN] Object 'ISOVerticalExtent' is INVALID according to ISO 19139 XML schemas!
diff --git a/reference/geometa_coverage.html b/reference/geometa_coverage.html
index 9413ea6f..f848d5db 100644
--- a/reference/geometa_coverage.html
+++ b/reference/geometa_coverage.html
@@ -83,8 +83,8 @@ # \donttest{
cov <- geometa_coverage(version = "19115-3")
-#> Loading ISO 19139 XML schemas...
#> Loading ISO 19115-3 codelists...
+#> Error in FUN(X[[i]], ...): object 'getMetadataS' not found
# }
getGeometaOptions()
-#> <environment: 0x5620f2930f30>
+#> <environment: 0x55e5ba834188>
getISOCodelist(id = "LanguageCode")
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> <ISOCodelist>
+#> ....|-- id: LanguageCode
+#> ....|-- refFile: /home/runner/work/_temp/Library/geometa/extdata/codelists/ISO-639-2_utf-8.txt
+#> ....|-- codeSpace: ISO 639-2
+#> ....|-- identifier [codeSpace=ISO 639-2] <ISOScopedName>
+#> ........|-- value: LanguageCode
+#> ....|-- description: Language : ISO 639-2 (3 characters)
getISOCodelists()
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in data.frame(classname = x$classname, codeSpace = cl$codeSpace, description = cl$description, xmlNamespace = cl_ns, xmlElement = cl$id): arguments imply differing number of rows: 1, 0
ISOTelephone
ISOTelephone
ISOTelephoneType
# \donttest{
mdfile <- system.file("extdata/examples", "metadata.xml", package = "geometa")
md <- readISO19139(mdfile)
-#> Error in if (cl$id == id) { codelist <<- cl}: argument is of length zero
+#> Error in super$initialize(xml = xml, id = private$xmlElement, value = value, description = description, addCodeSpaceAttr = FALSE): No ISO codelist for identifier 'MD_CharacterSetCode'
# }
setISOCodelists()
setISOCodelists(version = "19139")
setMetadataStandard(version = "19115-3")
-#> Loading ISO 19139 XML schemas...