MD_Metadata.properties 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. @fileIdentifier.CharacterString="metadata.custom.metadata-identifier"
  2. # Verplicht INSPIRE en GDI-Vlaanderen, default 'dut'
  3. language.LanguageCode.@codeList='http://www.loc.gov/standards/iso639-2/'
  4. language.LanguageCode.@codeListValue=if_then_else(isNull("metadata.custom.metadata-language-code"), 'dut', "metadata.custom.metadata-language-code")
  5. language.LanguageCode=if_then_else(isNull("metadata.custom.metadata-language"), 'Nederlands', "metadata.custom.metadata-language")
  6. # Verplicht GDI-Vlaanderen, vast 'utf8'
  7. characterSet.MD_CharacterSetCode.@codeList='http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode'
  8. characterSet.MD_CharacterSetCode.@codeListValue='utf8'
  9. characterSet.MD_CharacterSetCode='utf8'
  10. parentIdentifier.CharacterString="metadata.custom.parent-identifier"
  11. # Verplicht INSPIRE en GDI-Vlaanderen, vast 'dataset'
  12. hierarchyLevel.MD_ScopeCode.@codeList='http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode'
  13. hierarchyLevel.MD_ScopeCode.@codeListValue='dataset'
  14. hierarchyLevel.MD_ScopeCode='dataset'
  15. hierarchyLevelName.CharacterString='dataset'
  16. # Verplicht 1+ XSD, INSPIRE en GDI-Vlaanderen
  17. contact%.CI_ResponsibleParty.organisationName.CharacterString="metadata.custom.metadata-contact/organisation"
  18. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.deliveryPoint.CharacterString="metadata.custom.metadata-contact/contactinfo/delivery-point"
  19. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.city.CharacterString="metadata.custom.metadata-contact/contactinfo/city"
  20. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.postalCode.CharacterString="metadata.custom.metadata-contact/contactinfo/postal-code"
  21. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.country.CharacterString="metadata.custom.metadata-contact/contactinfo/country"
  22. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.electronicMailAddress.CharacterString="metadata.custom.metadata-contact/contactinfo/email"
  23. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.phone.CI_Telephone.voice.CharacterString="metadata.custom.metadata-contact/contactinfo/telephone"
  24. contact%.CI_ResponsibleParty.contactInfo.CI_Contact.onlineResource.CI_OnlineResource.linkage.URL="metadata.custom.metadata-contact/contactinfo/website"
  25. contact%.CI_ResponsibleParty.role.CI_RoleCode.@codeList='http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'
  26. contact%.CI_ResponsibleParty.role.CI_RoleCode.@codeListValue=lapply("metadata.custom.metadata-contact/role", if_then_else(isNull("."), 'pointOfContact', "."))
  27. contact%.CI_ResponsibleParty.role.CI_RoleCode=lapply("metadata.custom.metadata-contact/role", if_then_else(isNull("."), 'pointOfContact', "."))
  28. # Verplicht XSD, INSPIRE en GDI-Vlaanderen, default datum van vandaag
  29. $dateStamp.DateTime=if_then_else(isNull("metadata.custom._timestamp"), "Expression/NIL", dateFormat('YYYY-MM-dd''T''HH:mm:ss', "metadata.custom._timestamp"))
  30. # Verplicht INSPIRE en GDI-Vlaanderen, standaard CRS van laag, kan uitgebreid worden in custom metadata
  31. referenceSystemInfo[1].MD_ReferenceSystem.referenceSystemIdentifier.RS_Identifier.code.Anchor.@href=if_then_else(isNull("srs"), "Expression/NIL", concatenate('http://www.opengis.net/def/crs/EPSG/0/', strSubstringStart("srs", 5)))
  32. referenceSystemInfo[1].MD_ReferenceSystem.referenceSystemIdentifier.RS_Identifier.code.Anchor="srs"
  33. referenceSystemInfo%.MD_ReferenceSystem.referenceSystemIdentifier.RS_Identifier.code.Anchor.@href="metadata.custom.reference-system-code-ref"
  34. referenceSystemInfo%.MD_ReferenceSystem.referenceSystemIdentifier.RS_Identifier.code.Anchor="metadata.custom.reference-system-code-label"
  35. identificationInfo.MD_DataIdentification.@id=if_then_else(isNull("metadata.custom.data-identifier"), "Expression/NIL", concatenate('id-', "metadata.custom.data-identifier"))
  36. # Verplicht XSD, INSPIRE en GDI-Vlaanderen
  37. identificationInfo.MD_DataIdentification.citation.CI_Citation.title.CharacterString=if_then_else(isNull(title), name, title)
  38. identificationInfo.MD_DataIdentification.citation.CI_Citation.alternateTitle.CharacterString="metadata.custom.alternate-title"
  39. identificationInfo.MD_DataIdentification.citation.CI_Citation.date[1].CI_Date.date.Date=if_then_else(isNull("metadata.revisionDate"), "Expression/NIL", dateFormat('YYYY-MM-dd', "metadata.revisionDate"))
  40. identificationInfo.MD_DataIdentification.citation.CI_Citation.date[1].CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.revisionDate"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')
  41. identificationInfo.MD_DataIdentification.citation.CI_Citation.date[1].CI_Date.dateType.CI_DateTypeCode.@codeListValue=if_then_else(isNull("metadata.revisionDate"), "Expression/NIL", 'revision')
  42. identificationInfo.MD_DataIdentification.citation.CI_Citation.date[1].CI_Date.dateType.CI_DateTypeCode=if_then_else(isNull("metadata.revisionDate"), "Expression/NIL", 'revision')
  43. # Verplicht 1+ XSD, INSPIRE en GDI-Vlaanderen
  44. identificationInfo.MD_DataIdentification.citation.CI_Citation.date%.CI_Date.date.Date=if_then_else(isNull("metadata.custom.data-date/date"), "Expression/NIL", literate("i", size("metadata.custom.data-date/date"), if_then_else(equalTo(litem("metadata.custom.data-date/date-type", "i"), 'revision'), if_then_else(isNull("metadata.revisionDate"), if_then_else(isNull(litem("metadata.custom.data-date/date", "i")), "Expression/NIL", dateFormat('YYYY-MM-dd', litem("metadata.custom.data-date/date", "i"))), "Expression/NIL"), if_then_else(isNull(litem("metadata.custom.data-date/date", "i")), "Expression/NIL", dateFormat('YYYY-MM-dd', litem("metadata.custom.data-date/date", "i"))))))
  45. identificationInfo.MD_DataIdentification.citation.CI_Citation.date%.CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.custom.data-date/date-type"), "Expression/NIL", literate("i", size("metadata.custom.data-date/date-type"), if_then_else(equalTo(litem("metadata.custom.data-date/date-type", "i"), 'revision'), if_then_else(isNull("metadata.revisionDate"), 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode', "Expression/NIL"), 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')))
  46. identificationInfo.MD_DataIdentification.citation.CI_Citation.date%.CI_Date.dateType.CI_DateTypeCode.@codeListValue=if_then_else(isNull("metadata.custom.data-date/date-type"), "Expression/NIL", literate("i", size("metadata.custom.data-date/date-type"), if_then_else(equalTo(litem("metadata.custom.data-date/date-type", "i"), 'revision'), if_then_else(isNull("metadata.revisionDate"), litem("metadata.custom.data-date/date-type", "i"), "Expression/NIL"), litem("metadata.custom.data-date/date-type", "i"))))
  47. identificationInfo.MD_DataIdentification.citation.CI_Citation.date%.CI_Date.dateType.CI_DateTypeCode=if_then_else(isNull("metadata.custom.data-date/date-type"), "Expression/NIL", literate("i", size("metadata.custom.data-date/date-type"), if_then_else(equalTo(litem("metadata.custom.data-date/date-type", "i"), 'revision'), if_then_else(isNull("metadata.revisionDate"), litem("metadata.custom.data-date/date-type", "i"), "Expression/NIL"), litem("metadata.custom.data-date/date-type", "i"))))
  48. identificationInfo.MD_DataIdentification.citation.CI_Citation.edition.CharacterString="metadata.custom.edition"
  49. # Verplicht GDI-Vlaanderen
  50. identificationInfo.MD_DataIdentification.citation.CI_Citation.identifier.MD_Identifier.code.CharacterString=if_then_else(isNull("metadata.custom.data-identifier"), "Expression/NIL", concatenate('http://localhost/dataset/', "metadata.custom.data-identifier"))
  51. # Verplicht XSD, INSPIRE en GDI-Vlaanderen
  52. identificationInfo.MD_DataIdentification.abstract.CharacterString=if_then_else(isNull(abstract), '', abstract)
  53. identificationInfo.MD_DataIdentification.purpose.CharacterString="metadata.custom.purpose"
  54. identificationInfo.MD_DataIdentification.status.MD_ProgressCode.@codeList=if_then_else(isNull("metadata.custom.status"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode')
  55. identificationInfo.MD_DataIdentification.status.MD_ProgressCode.@codeListValue="metadata.custom.status"
  56. identificationInfo.MD_DataIdentification.status.MD_ProgressCode="metadata.custom.status"
  57. identificationInfo.MD_DataIdentification.resourceMaintenance.MD_MaintenanceInformation.maintenanceAndUpdateFrequency.MD_MaintenanceFrequencyCode.@codeList=if_then_else(isNull("metadata.custom.update-frequency"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode')
  58. identificationInfo.MD_DataIdentification.resourceMaintenance.MD_MaintenanceInformation.maintenanceAndUpdateFrequency.MD_MaintenanceFrequencyCode.@codeListValue="metadata.custom.update-frequency"
  59. identificationInfo.MD_DataIdentification.resourceMaintenance.MD_MaintenanceInformation.maintenanceAndUpdateFrequency.MD_MaintenanceFrequencyCode="metadata.custom.update-frequency"
  60. # Verplicht GDI-Vlaanderen
  61. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.organisationName.CharacterString="metadata.custom.data-contact/organisation"
  62. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.deliveryPoint.CharacterString="metadata.custom.data-contact/contactinfo/delivery-point"
  63. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.city.CharacterString="metadata.custom.data-contact/contactinfo/city"
  64. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.postalCode.CharacterString="metadata.custom.data-contact/contactinfo/postal-code"
  65. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.country.CharacterString="metadata.custom.data-contact/contactinfo/country"
  66. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.electronicMailAddress.CharacterString="metadata.custom.data-contact/contactinfo/email"
  67. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.phone.CI_Telephone.voice.CharacterString="metadata.custom.data-contact/contactinfo/telephone"
  68. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.contactInfo.CI_Contact.onlineResource.CI_OnlineResource.linkage.URL="metadata.custom.data-contact/contactinfo/website"
  69. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.role.CI_RoleCode.@codeList=lapply("metadata.custom.data-contact/role", if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'))
  70. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.role.CI_RoleCode.@codeListValue="metadata.custom.data-contact/role"
  71. identificationInfo.MD_DataIdentification.pointOfContact%.CI_ResponsibleParty.role.CI_RoleCode="metadata.custom.data-contact/role"
  72. identificationInfo.MD_DataIdentification.graphicOverview.MD_BrowseGraphic.fileName.CharacterString=if_then_else(isNull("metadata.custom.graphic-overview-url"), concatenate('${url.wms}?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=false&STYLES&LAYERS=', "prefixedName", '&SRS=EPSG%3A31370&WIDTH=858&HEIGHT=330&BBOX=9518.482229747839%2C148172.73525929108%2C271454.8939534676%2C248854.86152133934'), concatenate('${url.wms}', "metadata.custom.graphic-overview-url", '&layers=', "prefixedName"))
  73. identificationInfo.MD_DataIdentification.graphicOverview.MD_BrowseGraphic.fileType.CharacterString='png'
  74. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.keyword%.Anchor="metadata.custom.keyword-inspire-theme-label"
  75. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.keyword%.Anchor.@href="metadata.custom.keyword-inspire-theme-ref"
  76. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.@href=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'http://inspire.ec.europa.eu/id/citation/voc/gemet-inspire-themes-1.0')
  77. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.title.Anchor=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'GEMET - INSPIRE themes, version 1.0')
  78. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.title.Anchor.@href=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'http://www.eionet.europa.eu/gemet/inspire_themes')
  79. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.date.Date=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", '2008-06-01')
  80. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')
  81. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeListValue=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'publication')
  82. identificationInfo.MD_DataIdentification.descriptiveKeywords[1].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode=if_then_else(isNull("metadata.custom.keyword-inspire-theme-label"), "Expression/NIL", 'publication')
  83. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.keyword%.CharacterString="metadata.custom.keyword-gemet-concept"
  84. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.thesaurusName.CI_Citation.title.CharacterString=if_then_else(isNull("metadata.custom.keyword-gemet-concept"), "Expression/NIL", 'GEMET - Concepten, versie 2.4')
  85. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.date.Date=if_then_else(isNull("metadata.custom.keyword-gemet-concept"), "Expression/NIL", '2010-01-13')
  86. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.custom.keyword-gemet-concept"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')
  87. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeListValue=if_then_else(isNull("metadata.custom.keyword-gemet-concept"), "Expression/NIL", 'publication')
  88. identificationInfo.MD_DataIdentification.descriptiveKeywords[2].MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode=if_then_else(isNull("metadata.custom.keyword-gemet-concept"), "Expression/NIL", 'publication')
  89. identificationInfo.MD_DataIdentification.descriptiveKeywords[3].MD_Keywords.keyword%.CharacterString="metadata.custom.keyword-free"
  90. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.keyword%.CharacterString=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), "Expression/NIL", literate("j", size(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), if_then_else(isNull(litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-ref", "i"), "j")), litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i"), "j"), "Expression/NIL")))))
  91. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.keyword%.Anchor=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), "Expression/NIL", literate("j", size(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), if_then_else(isNull(litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-ref", "i"), "j")), "Expression/NIL", litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i"), "j"))))))
  92. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.keyword%.Anchor.@href=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), "Expression/NIL", literate("j", size(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-label", "i")), if_then_else(isNull(litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-ref", "i"), "j")), "Expression/NIL", litem(litem("metadata.custom.keyword-custom-thesaurus/keyword/keyword-ref", "i"), "j"))))))
  93. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.@href="metadata.custom.keyword-custom-thesaurus/thesaurus-citation-ref"
  94. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.title.CharacterString=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-ref", "i")), litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label", "i"), "Expression/NIL")))
  95. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.title.Anchor=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-ref", "i")), "Expression/NIL", litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label", "i"))))
  96. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.title.Anchor.@href=if_then_else(isNull("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), "Expression/NIL", literate("i", size("metadata.custom.keyword-custom-thesaurus/thesaurus-title-label"), if_then_else(isNull(litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-ref", "i")), "Expression/NIL", litem("metadata.custom.keyword-custom-thesaurus/thesaurus-title-ref", "i"))))
  97. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.date.Date=lapply("metadata.custom.keyword-custom-thesaurus/thesaurus-date", if_then_else(isNull("."), "Expression/NIL", dateFormat('YYYY-MM-dd', ".")))
  98. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode="metadata.custom.keyword-custom-thesaurus/thesaurus-date-type"
  99. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeListValue="metadata.custom.keyword-custom-thesaurus/thesaurus-date-type"
  100. identificationInfo.MD_DataIdentification.descriptiveKeywords%.MD_Keywords.thesaurusName.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeList=lapply("metadata.custom.keyword-custom-thesaurus/thesaurus-date-type", if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode'))
  101. # Verplicht GDI-Vlaanderen
  102. identificationInfo.MD_DataIdentification.resourceConstraints[1].MD_Constraints.useLimitation%.CharacterString="metadata.custom.rc-rc-use-limitation"
  103. identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.accessConstraints.MD_RestrictionCode.@codeListValue="metadata.custom.rc-lim-access-constraint"
  104. identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.accessConstraints.MD_RestrictionCode.@codeList=if_then_else(isNull("metadata.custom.rc-lim-access-constraint"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode')
  105. identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.accessConstraints.MD_RestrictionCode="metadata.custom.rc-lim-access-constraint"
  106. identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints%.Anchor="metadata.custom.rc-lim-other-constraint-label"
  107. identificationInfo.MD_DataIdentification.resourceConstraints[2].MD_LegalConstraints.otherConstraints%.Anchor.@href="metadata.custom.rc-lim-other-constraint-ref"
  108. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.useConstraints.MD_RestrictionCode.@codeListValue="metadata.custom.rc-con-use-constraint"
  109. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.useConstraints.MD_RestrictionCode.@codeList=if_then_else(isNull("metadata.custom.rc-con-use-constraint"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode')
  110. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.useConstraints.MD_RestrictionCode="metadata.custom.rc-con-use-constraint"
  111. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.otherConstraints%.CharacterString=if_then_else( isNull("metadata.custom.rc-con-other-constraint/other-constraint-label"), "Expression/NIL", literate("i", size("metadata.custom.rc-con-other-constraint/other-constraint-label"), if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-label", "i")), "Expression/NIL", if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-ref", "i")), litem("metadata.custom.rc-con-other-constraint/other-constraint-label", "i"), "Expression/NIL" ) ) ) )
  112. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.otherConstraints%.Anchor=if_then_else( isNull("metadata.custom.rc-con-other-constraint/other-constraint-label"), "Expression/NIL", literate("i", size("metadata.custom.rc-con-other-constraint/other-constraint-label"), if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-label", "i")), "Expression/NIL", if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-ref", "i")), "Expression/NIL", litem("metadata.custom.rc-con-other-constraint/other-constraint-label", "i") ) ) ) )
  113. identificationInfo.MD_DataIdentification.resourceConstraints[3].MD_LegalConstraints.otherConstraints%.Anchor.@href=if_then_else( isNull("metadata.custom.rc-con-other-constraint/other-constraint-label"), "Expression/NIL", literate("i", size("metadata.custom.rc-con-other-constraint/other-constraint-label"), if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-label", "i")), "Expression/NIL", if_then_else( isNull(litem("metadata.custom.rc-con-other-constraint/other-constraint-ref", "i")), "Expression/NIL", litem("metadata.custom.rc-con-other-constraint/other-constraint-ref", "i") ) ) ) )
  114. identificationInfo.MD_DataIdentification.spatialRepresentationType.MD_SpatialRepresentationTypeCode.@codeList='http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_SpatialRepresentationTypeCode'
  115. identificationInfo.MD_DataIdentification.spatialRepresentationType.MD_SpatialRepresentationTypeCode.@codeListValue=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'vector', 'grid')
  116. identificationInfo.MD_DataIdentification.spatialRepresentationType.MD_SpatialRepresentationTypeCode=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'vector', 'grid')
  117. identificationInfo.MD_DataIdentification.spatialResolution.MD_Resolution.equivalentScale.MD_RepresentativeFraction.denominator.Integer=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "metadata.custom.resolution-equivalent-scale", "Expression/NIL")
  118. identificationInfo.MD_DataIdentification.spatialResolution.MD_Resolution.distance.Distance=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "Expression/NIL", numberFormat(if_then_else(equalTo("CRS.coordinateSystem.axis[1].unit", '\u00B0'), '0.0000', '0.00'), "grid.gridToCRS.scaleX"))
  119. identificationInfo.MD_DataIdentification.spatialResolution.MD_Resolution.distance.Distance.@uom=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "Expression/NIL", if_then_else(equalTo("CRS.coordinateSystem.axis[1].unit", 'm'), 'meter', if_then_else(equalTo("CRS.coordinateSystem.axis[1].unit", '\u00B0'), 'degree', "CRS.coordinateSystem.axis[1].unit")))
  120. # Verplicht 1+ XSD, INSPIRE en GDI-Vlaanderen, default 'dut'
  121. identificationInfo.MD_DataIdentification.language.LanguageCode.@codeList='http://www.loc.gov/standards/iso639-2/'
  122. identificationInfo.MD_DataIdentification.language.LanguageCode.@codeListValue=if_then_else(isNull("metadata.custom.data-language-code"), 'dut', "metadata.custom.data-language-code")
  123. identificationInfo.MD_DataIdentification.language.LanguageCode=if_then_else(isNull("metadata.custom.data-language"), 'Nederlands', "metadata.custom.data-language")
  124. # Verplicht INSPIRE en GDI-Vlaanderen, default 'geoscientificInformation'
  125. identificationInfo.MD_DataIdentification.topicCategory%.MD_TopicCategoryCode=if_then_else(isNull("metadata.custom.topic-category[1]"), 'geoscientificInformation', "metadata.custom.topic-category")
  126. identificationInfo.MD_DataIdentification.extent.EX_Extent.temporalElement.EX_TemporalExtent.extent.TimePeriod.@id=if_then_else(isNull("metadata.custom.data-valid-date/start-date"), "Expression/NIL", 'timePeriod')
  127. identificationInfo.MD_DataIdentification.extent.EX_Extent.temporalElement.EX_TemporalExtent.extent.TimePeriod.beginPosition=if_then_else(isNull("metadata.custom.data-valid-date/start-date"), "Expression/NIL", dateFormat('YYYY-MM-dd', "metadata.custom.data-valid-date/start-date"))
  128. identificationInfo.MD_DataIdentification.extent.EX_Extent.temporalElement.EX_TemporalExtent.extent.TimePeriod.beginPosition.@indeterminatePosition=if_then_else(isNull("metadata.custom.data-valid-date/end-date"), "Expression/NIL", if_then_else(isNull("metadata.custom.data-valid-date/start-date"), 'unknown', "Expression/NIL"))
  129. identificationInfo.MD_DataIdentification.extent.EX_Extent.temporalElement.EX_TemporalExtent.extent.TimePeriod.endPosition=if_then_else(isNull("metadata.custom.data-valid-date/end-date"), "Expression/NIL", dateFormat('YYYY-MM-dd', "metadata.custom.data-valid-date/end-date"))
  130. identificationInfo.MD_DataIdentification.extent.EX_Extent.temporalElement.EX_TemporalExtent.extent.TimePeriod.endPosition.@indeterminatePosition=if_then_else(isNull("metadata.custom.data-valid-date/start-date"), "Expression/NIL", if_then_else(isNull("metadata.custom.data-valid-date/end-date"), 'unknown', "Expression/NIL"))
  131. identificationInfo.MD_DataIdentification.supplementalInformation.CharacterString="metadata.custom.supplemental-information"
  132. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.specificUsage.CharacterString="metadata.custom.specific-usage/usage"
  133. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.organisationName.CharacterString="metadata.custom.specific-usage/user-contact/organisation"
  134. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.deliveryPoint.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/delivery-point"
  135. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.city.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/city"
  136. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.postalCode.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/postal-code"
  137. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.country.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/country"
  138. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.electronicMailAddress.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/email"
  139. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.phone.CI_Telephone.voice.CharacterString="metadata.custom.specific-usage/user-contact/contactinfo/telephone"
  140. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.contactInfo.CI_Contact.onlineResource.CI_OnlineResource.linkage.URL="metadata.custom.specific-usage/user-contact/contactinfo/website"
  141. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.role.CI_RoleCode.@codeList=lapply("metadata.custom.specific-usage/user-contact/role", if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'))
  142. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.role.CI_RoleCode.@codeListValue="metadata.custom.specific-usage/user-contact/role"
  143. identificationInfo.MD_DataIdentification.resourceSpecificUsage%.MD_Usage.userContactInfo%.CI_ResponsibleParty.role.CI_RoleCode="metadata.custom.specific-usage/user-contact/role"
  144. contentInfo.MD_FeatureCatalogueDescription.includedWithDataset.Boolean=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", 'true')
  145. contentInfo.MD_FeatureCatalogueDescription.featureTypes.LocalName=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", concatenate("name", 'Type'))
  146. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.@uuidref=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", "metadata.custom.feature-catalog/feature-catalog-identifier")
  147. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.title.CharacterString=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", concatenate(if_then_else(isNull(title), name, title), ' (objectencatalogus)'))
  148. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.edition.CharacterString=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", if_then_else(isNull("metadata.custom.edition") , '1', "metadata.custom.edition"))
  149. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.date.CI_Date.date.Date=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", if_then_else(isNull("metadata.custom._timestamp"), "Expression/NIL", dateFormat('YYYY-MM-dd', "metadata.custom._timestamp")))
  150. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')
  151. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeListValue=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", 'creation')
  152. contentInfo.MD_FeatureCatalogueDescription.featureCatalogueCitation.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode=if_then_else(isNull("metadata.custom.feature-catalog/feature-catalog-identifier"), "Expression/NIL", 'creation')
  153. distributionInfo.MD_Distribution.distributionFormat.MD_Format.name.CharacterString=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'GML', 'GeoTIFF')
  154. distributionInfo.MD_Distribution.distributionFormat.MD_Format.version.CharacterString=if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), '3.1.1', '1.0')
  155. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.organisationName.CharacterString="metadata.custom.distributor/organisation"
  156. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.deliveryPoint.CharacterString="metadata.custom.distributor/contactinfo/delivery-point"
  157. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.city.CharacterString="metadata.custom.distributor/contactinfo/city"
  158. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.postalCode.CharacterString="metadata.custom.distributor/contactinfo/postal-code"
  159. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.country.CharacterString="metadata.custom.distributor/contactinfo/country"
  160. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.electronicMailAddress.CharacterString="metadata.custom.distributor/contactinfo/email"
  161. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.phone.CI_Telephone.voice.CharacterString="metadata.custom.distributor/contactinfo/telephone"
  162. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.contactInfo.CI_Contact.onlineResource.CI_OnlineResource.linkage.URL="metadata.custom.distributor/contactinfo/website"
  163. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.role.CI_RoleCode.@codeList=lapply("metadata.custom.distributor/role", if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'))
  164. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.role.CI_RoleCode.@codeListValue=lapply("metadata.custom.distributor/role", if_then_else(isNull("."), 'distributor', "."))
  165. distributionInfo.MD_Distribution.distributor%.MD_Distributor.distributorContact.CI_ResponsibleParty.role.CI_RoleCode=lapply("metadata.custom.distributor/role", if_then_else(isNull("."), 'distributor', "."))
  166. distributionInfo.MD_Distribution.distributor.MD_Distributor.distributionOrderProcess.MD_StandardOrderProcess.fees.CharacterString='Gratis'
  167. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.linkage.URL=list(concatenate('${url.wms}', '?'), concatenate('${url.wms}', '?SERVICE=WMS&version=1.3.0&request=GetCapabilities'), concatenate('${url.wms}', '?SERVICE=WMS&version=1.3.0&request=GetMap'), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('${url.wfs}', '?'), concatenate('${url.wcs}', '?')), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('${url.wfs}', '?SERVICE=WFS&version=1.1.0&request=GetCapabilities'), concatenate('${url.wcs}', '?SERVICE=WCS&version=1.1.1&request=GetCapabilities')), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('${url.wfs}', '?SERVICE=WFS&version=1.1.0&request=GetFeature'), concatenate('${url.wcs}', '?SERVICE=WCS&version=1.1.1&request=GetCoverage')), concatenate('${url.wms}', '/kml?layers=', "prefixedName"), if_then_else(isCached("."), concatenate('${url.wmts}', '?'), "Expression/NIL"), if_then_else(isCached("."), concatenate('${url.wmts}', '?REQUEST=GetCapabilities'), "Expression/NIL"), if_then_else(isCached("."), concatenate('${url.wmts}', '?REQUEST=GetTile'), "Expression/NIL"), "metadata.custom.transfer-option/linkage")
  168. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.protocol.CharacterString=list( 'OGC:WMS', 'OGC:WMS-1.3.0-http-get-capabilities', 'OGC:WMS-1.3.0-http-get-map', if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'OGC:WFS', 'OGC:WCS'), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'OGC:WFS-1.1.0-http-get-capabilities', 'OGC:WCS-1.1.1-http-get-capabilities'), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), 'OGC:WFS-1.1.0-http-get-feature', 'OGC:WCS-1.1.1-http-get-coverage'), 'GLG:KML-2.0-http-get-map', if_then_else(isCached("."), 'OGC:WMTS', "Expression/NIL"), if_then_else(isCached("."), 'OGC:WMTS-1.0.0-http-get-capabilities', "Expression/NIL"), if_then_else(isCached("."), 'OGC:WMTS-1.0.0-http-get-tile', "Expression/NIL"), "metadata.custom.transfer-option/protocol")
  169. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.name.CharacterString=list( "prefixedName", "prefixedName", "prefixedName", if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "prefixedName", "name"), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "prefixedName", "name"), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), "prefixedName", "name"), "prefixedName", if_then_else(isCached("."), "prefixedName", "Expression/NIL"), if_then_else(isCached("."), "prefixedName", "Expression/NIL"), if_then_else(isCached("."), "prefixedName", "Expression/NIL"), "metadata.custom.transfer-option/transfer-name")
  170. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.description.CharacterString=list( concatenate('WMS-endpoint ', "title"), concatenate('WMS-capabilities ', title), concatenate('WMS-map ', title), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('WFS-endpoint ', "title"), concatenate('WCS-endpoint ', "title")), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('WFS-capabilities ', "title"), concatenate('WCS-capabilities ', "title")), if_then_else(equalto(typeof("."), 'FeatureTypeInfo'), concatenate('WFS-feature ', "title"), concatenate('WCS-coverage ', "title")), concatenate('KML ', title), if_then_else(isCached("."), concatenate('WMTS-endpoint ', "title"), "Expression/NIL"), if_then_else(isCached("."), concatenate('WMTS-capabilities ', "title"), "Expression/NIL"), if_then_else(isCached("."), concatenate('WMTS-tile ', "title"), "Expression/NIL"), "metadata.custom.transfer-option/transfer-description")
  171. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.function.CI_OnLineFunctionCode.@codeList=lapply(list( "Expression/NIL", "Expression/NIL", "Expression/NIL", 'download', 'download', 'download', "Expression/NIL", "Expression/NIL", "Expression/NIL", "Expression/NIL", "metadata.custom.transfer-option/transfer-function"), if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode'))
  172. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.function.CI_OnLineFunctionCode.@codeListValue=list( "Expression/NIL", "Expression/NIL", "Expression/NIL", 'download', 'download', 'download', "Expression/NIL", "Expression/NIL", "Expression/NIL", "Expression/NIL", "metadata.custom.transfer-option/transfer-function")
  173. distributionInfo.MD_Distribution.transferOptions.MD_DigitalTransferOptions.onLine%.CI_OnlineResource.function.CI_OnLineFunctionCode=list( "Expression/NIL", "Expression/NIL", "Expression/NIL", 'download', 'download', 'download', "Expression/NIL", "Expression/NIL", "Expression/NIL", "Expression/NIL", "metadata.custom.transfer-option/transfer-function")
  174. # Verplicht INSPIRE en GDI-Vlaanderen
  175. dataQualityInfo.DQ_DataQuality.scope.DQ_Scope.level.MD_ScopeCode.@codeList='http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode'
  176. dataQualityInfo.DQ_DataQuality.scope.DQ_Scope.level.MD_ScopeCode.@codeListValue='dataset'
  177. dataQualityInfo.DQ_DataQuality.scope.DQ_Scope.level.MD_ScopeCode='dataset'
  178. # Verplicht INSPIRE en GDI-Vlaanderen
  179. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.@href="metadata.custom.data-quality-conformance/specification-ref"
  180. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.title.CharacterString=if_then_else(isNull("metadata.custom.data-quality-conformance/title-ref"), "metadata.custom.data-quality-conformance/title-label", "Expression/NIL")
  181. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.title.Anchor=if_then_else(isNull("metadata.custom.data-quality-conformance/title-ref"), "Expression/NIL", "metadata.custom.data-quality-conformance/title-label")
  182. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.title.Anchor.@href="metadata.custom.data-quality-conformance/title-ref"
  183. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.date.CI_Date.date.Date=if_then_else(isNull("metadata.custom.data-quality-conformance/date"), "Expression/NIL", dateFormat('YYYY-MM-dd', "metadata.custom.data-quality-conformance/date"))
  184. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeList=if_then_else(isNull("metadata.custom.data-quality-conformance/date-type"), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode')
  185. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode.@codeListValue="metadata.custom.data-quality-conformance/date-type"
  186. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.specification.CI_Citation.date.CI_Date.dateType.CI_DateTypeCode="metadata.custom.data-quality-conformance/date-type"
  187. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.explanation.CharacterString="metadata.custom.data-quality-conformance/explanation"
  188. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.pass.Boolean=if_then_else(equalTo("metadata.custom.data-quality-conformance/pass", ''), "Expression/NIL", "metadata.custom.data-quality-conformance/pass")
  189. dataQualityInfo.DQ_DataQuality.report.DQ_DomainConsistency.result.DQ_ConformanceResult.pass.@nilReason=if_then_else(isNull("metadata.custom.data-quality-conformance/title-label"), "Expression/NIL", if_then_else(equalTo("metadata.custom.data-quality-conformance/pass", ''), 'unknown', "Expression/NIL"))
  190. # Verplicht GDI-Vlaanderen
  191. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.statement.CharacterString="metadata.custom.lineage-statement"
  192. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.source.LI_Source.description.CharacterString="metadata.custom.lineage-source"
  193. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.description.CharacterString="metadata.custom.data-quality-process-step/description"
  194. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.rationale.CharacterString="metadata.custom.data-quality-process-step/rationale"
  195. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.dateTime.DateTime=lapply("metadata.custom.data-quality-process-step/datetime", if_then_else(isNull("."), "Expression/NIL", dateFormat('YYYY-MM-dd''T''HH:mm:ss', ".")))
  196. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.organisationName.CharacterString="metadata.custom.data-quality-process-step/processor/organisation"
  197. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.deliveryPoint.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/delivery-point"
  198. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.city.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/city"
  199. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.postalCode.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/postal-code"
  200. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.country.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/country"
  201. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.address.CI_Address.electronicMailAddress.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/email"
  202. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.phone.CI_Telephone.voice.CharacterString="metadata.custom.data-quality-process-step/processor/contactinfo/telephone"
  203. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.contactInfo.CI_Contact.onlineResource.CI_OnlineResource.linkage.URL="metadata.custom.data-quality-process-step/processor/contactinfo/website"
  204. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.role.CI_RoleCode.@codeList=lapply("metadata.custom.data-quality-process-step/processor/role", if_then_else(isNull("."), "Expression/NIL", 'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'))
  205. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.role.CI_RoleCode.@codeListValue="metadata.custom.data-quality-process-step/processor/role"
  206. dataQualityInfo.DQ_DataQuality.lineage.LI_Lineage.processStep%.LI_ProcessStep.processor%.CI_ResponsibleParty.role.CI_RoleCode="metadata.custom.data-quality-process-step/processor/role"