Test script en data voor het testen van de werking van de CSW service in het nationaalgeoregister.nl (NGR).
Depends on csw-client.sh
.
Run ./test.sh
to test CSW publication in NGR.
Test script en data voor het testen van de werking van de CSW service in het nationaalgeoregister.nl (NGR).
Depends on csw-client.sh
.
Run ./test.sh
to test CSW publication in NGR.
<?xml version="1.0" encoding="UTF-8"?> | |
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | |
xmlns:srv="http://www.isotc211.org/2005/srv" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" | |
xmlns:gmx="http://www.isotc211.org/2005/gmx" | |
xmlns:gts="http://www.isotc211.org/2005/gts" | |
xmlns:gco="http://www.isotc211.org/2005/gco" | |
xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | |
<gmd:fileIdentifier> | |
<gco:CharacterString>901a5404-a06f-4271-8e4c-0271d0e830ca</gco:CharacterString> | |
</gmd:fileIdentifier> | |
<gmd:language> | |
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="dut">Nederlands; Vlaams</gmd:LanguageCode> | |
</gmd:language> | |
<gmd:characterSet> | |
<gmd:MD_CharacterSetCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode> | |
</gmd:characterSet> | |
<gmd:hierarchyLevel> | |
<gmd:MD_ScopeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode> | |
</gmd:hierarchyLevel> | |
<gmd:hierarchyLevelName> | |
<gco:CharacterString>service</gco:CharacterString> | |
</gmd:hierarchyLevelName> | |
<gmd:contact> | |
<gmd:CI_ResponsibleParty> | |
<gmd:organisationName> | |
<gmx:Anchor xlink:href="http://standaarden.overheid.nl/owms/terms/pdok">Beheer PDOK</gmx:Anchor> | |
</gmd:organisationName> | |
<gmd:contactInfo> | |
<gmd:CI_Contact> | |
<gmd:address> | |
<gmd:CI_Address> | |
<gmd:electronicMailAddress> | |
<gco:CharacterString>beheerpdok@kadaster.nl</gco:CharacterString> | |
</gmd:electronicMailAddress> | |
</gmd:CI_Address> | |
</gmd:address> | |
<gmd:onlineResource> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://www.pdok.nl/contact</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</gmd:onlineResource> | |
</gmd:CI_Contact> | |
</gmd:contactInfo> | |
<gmd:role> | |
<gmd:CI_RoleCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">contactpunt</gmd:CI_RoleCode> | |
</gmd:role> | |
</gmd:CI_ResponsibleParty> | |
</gmd:contact> | |
<gmd:dateStamp> | |
<gco:Date>2023-02-07</gco:Date> | |
</gmd:dateStamp> | |
<gmd:metadataStandardName> | |
<gco:CharacterString>ISO 19119</gco:CharacterString> | |
</gmd:metadataStandardName> | |
<gmd:metadataStandardVersion> | |
<gco:CharacterString>Nederlands metadata profiel op ISO 19119 voor services 2.1.0</gco:CharacterString> | |
</gmd:metadataStandardVersion> | |
<gmd:identificationInfo> | |
<srv:SV_ServiceIdentification> | |
<gmd:citation> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gco:CharacterString>FOOBAR TEST WMS - EDITED</gco:CharacterString> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2020-12-01</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation">creatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2023-02-07</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision">revisie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:citation> | |
<gmd:abstract> | |
<gco:CharacterString>Wet kenbaarheid publiekrechtelijke beperkingen onroerende zaken betreft door overheid opgelegde beperkingen op een stuk grond of een gebouw</gco:CharacterString> | |
</gmd:abstract> | |
<gmd:pointOfContact> | |
<gmd:CI_ResponsibleParty> | |
<gmd:organisationName> | |
<gmx:Anchor xlink:href="http://standaarden.overheid.nl/owms/terms/pdok">Beheer PDOK</gmx:Anchor> | |
</gmd:organisationName> | |
<gmd:contactInfo> | |
<gmd:CI_Contact> | |
<gmd:address> | |
<gmd:CI_Address> | |
<gmd:electronicMailAddress> | |
<gco:CharacterString>beheerpdok@kadaster.nl</gco:CharacterString> | |
</gmd:electronicMailAddress> | |
</gmd:CI_Address> | |
</gmd:address> | |
<gmd:onlineResource> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://www.pdok.nl/contact</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</gmd:onlineResource> | |
</gmd:CI_Contact> | |
</gmd:contactInfo> | |
<gmd:role> | |
<gmd:CI_RoleCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="custodian">beheerder</gmd:CI_RoleCode> | |
</gmd:role> | |
</gmd:CI_ResponsibleParty> | |
</gmd:pointOfContact> | |
<gmd:graphicOverview> | |
<gmd:MD_BrowseGraphic> | |
<gmd:fileName> | |
<gco:CharacterString>https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/838d49cd-bcec-4e92-9172-fabb96c21b3d/attachments/map.png</gco:CharacterString> | |
</gmd:fileName> | |
<gmd:fileDescription> | |
<gco:CharacterString>thumbnail</gco:CharacterString> | |
</gmd:fileDescription> | |
</gmd:MD_BrowseGraphic> | |
</gmd:graphicOverview> | |
<gmd:descriptiveKeywords> | |
<gmd:MD_Keywords> | |
<gmd:keyword> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceCategory/infoMapAccessService">infoMapAccessService</gmx:Anchor> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>wkpb</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>publiekrechtelijke</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>beperking</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>gebiedsbeheer</gco:CharacterString> | |
</gmd:keyword> | |
</gmd:MD_Keywords> | |
</gmd:descriptiveKeywords> | |
<gmd:descriptiveKeywords> | |
<gmd:MD_Keywords> | |
<gmd:keyword> | |
<gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/nl/inspire-theme/am">Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden</gmx:Anchor> | |
</gmd:keyword> | |
<gmd:type> | |
<gmd:MD_KeywordTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme">theme</gmd:MD_KeywordTypeCode> | |
</gmd:type> | |
<gmd:thesaurusName> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/inspire_themes">GEMET - INSPIRE themes, version 1.0</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2008-06-01</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
<gmd:identifier> | |
<gmd:MD_Identifier> | |
<gmd:code> | |
<gmx:Anchor xlink:href="https://www.nationaalgeoregister.nl/geonetwork/srv/api/registries/vocabularies/external.theme.httpinspireeceuropaeutheme-theme">geonetwork.thesaurus.external.theme.httpinspireeceuropaeutheme-theme</gmx:Anchor> | |
</gmd:code> | |
</gmd:MD_Identifier> | |
</gmd:identifier> | |
</gmd:CI_Citation> | |
</gmd:thesaurusName> | |
</gmd:MD_Keywords> | |
</gmd:descriptiveKeywords> | |
<gmd:resourceConstraints> | |
<gmd:MD_Constraints> | |
<gmd:useLimitation> | |
<gco:CharacterString>Geen beperkingen</gco:CharacterString> | |
</gmd:useLimitation> | |
</gmd:MD_Constraints> | |
</gmd:resourceConstraints> | |
<gmd:resourceConstraints> | |
<gmd:MD_LegalConstraints> | |
<gmd:accessConstraints> | |
<gmd:MD_RestrictionCode codeListValue="otherRestrictions" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode">anders</gmd:MD_RestrictionCode> | |
</gmd:accessConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="https://creativecommons.org/publicdomain/mark/1.0/deed.nl">Geen beperkingen</gmx:Anchor> | |
</gmd:otherConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply">Geen condities voor toegang en gebruik</gmx:Anchor> | |
</gmd:otherConstraints> | |
</gmd:MD_LegalConstraints> | |
</gmd:resourceConstraints> | |
<gmd:resourceConstraints> | |
<gmd:MD_LegalConstraints> | |
<gmd:accessConstraints> | |
<gmd:MD_RestrictionCode codeListValue="otherRestrictions" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode">anders</gmd:MD_RestrictionCode> | |
</gmd:accessConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations">Geen beperkingen</gmx:Anchor> | |
</gmd:otherConstraints> | |
</gmd:MD_LegalConstraints> | |
</gmd:resourceConstraints> | |
<srv:serviceType> | |
<gco:LocalName codeSpace="http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType">view</gco:LocalName> | |
</srv:serviceType> | |
<srv:extent> | |
<gmd:EX_Extent> | |
<gmd:geographicElement> | |
<gmd:EX_GeographicBoundingBox> | |
<gmd:westBoundLongitude> | |
<gco:Decimal>3.20625292</gco:Decimal> | |
</gmd:westBoundLongitude> | |
<gmd:eastBoundLongitude> | |
<gco:Decimal>7.24525834</gco:Decimal> | |
</gmd:eastBoundLongitude> | |
<gmd:southBoundLatitude> | |
<gco:Decimal>50.733607</gco:Decimal> | |
</gmd:southBoundLatitude> | |
<gmd:northBoundLatitude> | |
<gco:Decimal>53.582979</gco:Decimal> | |
</gmd:northBoundLatitude> | |
</gmd:EX_GeographicBoundingBox> | |
</gmd:geographicElement> | |
</gmd:EX_Extent> | |
</srv:extent> | |
<srv:couplingType> | |
<srv:SV_CouplingType codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#SV_CouplingType" codeListValue="tight">tight</srv:SV_CouplingType> | |
</srv:couplingType> | |
<srv:containsOperations> | |
<srv:SV_OperationMetadata> | |
<srv:operationName> | |
<gco:CharacterString>GetCapabilities</gco:CharacterString> | |
</srv:operationName> | |
<srv:DCP> | |
<srv:DCPList codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#DCPList" codeListValue="WebServices">WebServices</srv:DCPList> | |
</srv:DCP> | |
<srv:connectPoint> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://service.pdok.nl/kadaster/wkpb/wms/v1_0?request=GetCapabilities&service=WMS</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</srv:connectPoint> | |
</srv:SV_OperationMetadata> | |
</srv:containsOperations> | |
<srv:operatesOn uuidref="5d2ffea6-e7c5-4e29-9474-c13718828779" xlink:href="https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d2ffea6-e7c5-4e29-9474-c13718828779#MD_DataIdentification" /> | |
</srv:SV_ServiceIdentification> | |
</gmd:identificationInfo> | |
<gmd:distributionInfo> | |
<gmd:MD_Distribution> | |
<gmd:transferOptions> | |
<gmd:MD_DigitalTransferOptions> | |
<gmd:onLine> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://service.pdok.nl/kadaster/wkpb/wms/v1_0?request=GetCapabilities&service=WMS</gmd:URL> | |
</gmd:linkage> | |
<gmd:protocol> | |
<gmx:Anchor xlink:href="http://www.opengis.net/def/serviceType/ogc/wms">OGC:WMS</gmx:Anchor> | |
</gmd:protocol> | |
<gmd:description> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/accessPoint">accessPoint</gmx:Anchor> | |
</gmd:description> | |
</gmd:CI_OnlineResource> | |
</gmd:onLine> | |
</gmd:MD_DigitalTransferOptions> | |
</gmd:transferOptions> | |
</gmd:MD_Distribution> | |
</gmd:distributionInfo> | |
<gmd:dataQualityInfo> | |
<gmd:DQ_DataQuality> | |
<gmd:scope> | |
<gmd:DQ_Scope> | |
<gmd:level> | |
<gmd:MD_ScopeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode> | |
</gmd:level> | |
<gmd:levelDescription> | |
<gmd:MD_ScopeDescription> | |
<gmd:other> | |
<gco:CharacterString>service</gco:CharacterString> | |
</gmd:other> | |
</gmd:MD_ScopeDescription> | |
</gmd:levelDescription> | |
</gmd:DQ_Scope> | |
</gmd:scope> | |
<gmd:report> | |
<gmd:DQ_DomainConsistency> | |
<gmd:result> | |
<gmd:DQ_ConformanceResult> | |
<gmd:specification> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="http://data.europa.eu/eli/reg/2009/976">VERORDENING (EG) Nr. 976/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007/2/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2009-10-19</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:specification> | |
<gmd:explanation> | |
<gco:CharacterString>Conform verordening</gco:CharacterString> | |
</gmd:explanation> | |
<gmd:pass> | |
<gco:Boolean>true</gco:Boolean> | |
</gmd:pass> | |
</gmd:DQ_ConformanceResult> | |
</gmd:result> | |
</gmd:DQ_DomainConsistency> | |
</gmd:report> | |
<gmd:report> | |
<gmd:DQ_DomainConsistency> | |
<gmd:result> | |
<gmd:DQ_ConformanceResult> | |
<gmd:specification> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1">Technical Guidance for the implementation of INSPIRE view Services</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2013-04-04</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:specification> | |
<gmd:explanation> | |
<gco:CharacterString>Conform technische specificatie</gco:CharacterString> | |
</gmd:explanation> | |
<gmd:pass> | |
<gco:Boolean>true</gco:Boolean> | |
</gmd:pass> | |
</gmd:DQ_ConformanceResult> | |
</gmd:result> | |
</gmd:DQ_DomainConsistency> | |
</gmd:report> | |
</gmd:DQ_DataQuality> | |
</gmd:dataQualityInfo> | |
</gmd:MD_Metadata> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" | |
xmlns:srv="http://www.isotc211.org/2005/srv" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" | |
xmlns:gmx="http://www.isotc211.org/2005/gmx" | |
xmlns:gts="http://www.isotc211.org/2005/gts" | |
xmlns:gco="http://www.isotc211.org/2005/gco" | |
xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd"> | |
<gmd:fileIdentifier> | |
<gco:CharacterString>901a5404-a06f-4271-8e4c-0271d0e830ca</gco:CharacterString> | |
</gmd:fileIdentifier> | |
<gmd:language> | |
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="dut">Nederlands; Vlaams</gmd:LanguageCode> | |
</gmd:language> | |
<gmd:characterSet> | |
<gmd:MD_CharacterSetCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode> | |
</gmd:characterSet> | |
<gmd:hierarchyLevel> | |
<gmd:MD_ScopeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode> | |
</gmd:hierarchyLevel> | |
<gmd:hierarchyLevelName> | |
<gco:CharacterString>service</gco:CharacterString> | |
</gmd:hierarchyLevelName> | |
<gmd:contact> | |
<gmd:CI_ResponsibleParty> | |
<gmd:organisationName> | |
<gmx:Anchor xlink:href="http://standaarden.overheid.nl/owms/terms/pdok">Beheer PDOK</gmx:Anchor> | |
</gmd:organisationName> | |
<gmd:contactInfo> | |
<gmd:CI_Contact> | |
<gmd:address> | |
<gmd:CI_Address> | |
<gmd:electronicMailAddress> | |
<gco:CharacterString>beheerpdok@kadaster.nl</gco:CharacterString> | |
</gmd:electronicMailAddress> | |
</gmd:CI_Address> | |
</gmd:address> | |
<gmd:onlineResource> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://www.pdok.nl/contact</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</gmd:onlineResource> | |
</gmd:CI_Contact> | |
</gmd:contactInfo> | |
<gmd:role> | |
<gmd:CI_RoleCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">contactpunt</gmd:CI_RoleCode> | |
</gmd:role> | |
</gmd:CI_ResponsibleParty> | |
</gmd:contact> | |
<gmd:dateStamp> | |
<gco:Date>2023-02-07</gco:Date> | |
</gmd:dateStamp> | |
<gmd:metadataStandardName> | |
<gco:CharacterString>ISO 19119</gco:CharacterString> | |
</gmd:metadataStandardName> | |
<gmd:metadataStandardVersion> | |
<gco:CharacterString>Nederlands metadata profiel op ISO 19119 voor services 2.1.0</gco:CharacterString> | |
</gmd:metadataStandardVersion> | |
<gmd:identificationInfo> | |
<srv:SV_ServiceIdentification> | |
<gmd:citation> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gco:CharacterString>FOOBAR TEST WMS</gco:CharacterString> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2020-12-01</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation">creatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2023-02-07</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision">revisie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:citation> | |
<gmd:abstract> | |
<gco:CharacterString>Wet kenbaarheid publiekrechtelijke beperkingen onroerende zaken betreft door overheid opgelegde beperkingen op een stuk grond of een gebouw</gco:CharacterString> | |
</gmd:abstract> | |
<gmd:pointOfContact> | |
<gmd:CI_ResponsibleParty> | |
<gmd:organisationName> | |
<gmx:Anchor xlink:href="http://standaarden.overheid.nl/owms/terms/pdok">Beheer PDOK</gmx:Anchor> | |
</gmd:organisationName> | |
<gmd:contactInfo> | |
<gmd:CI_Contact> | |
<gmd:address> | |
<gmd:CI_Address> | |
<gmd:electronicMailAddress> | |
<gco:CharacterString>beheerpdok@kadaster.nl</gco:CharacterString> | |
</gmd:electronicMailAddress> | |
</gmd:CI_Address> | |
</gmd:address> | |
<gmd:onlineResource> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://www.pdok.nl/contact</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</gmd:onlineResource> | |
</gmd:CI_Contact> | |
</gmd:contactInfo> | |
<gmd:role> | |
<gmd:CI_RoleCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="custodian">beheerder</gmd:CI_RoleCode> | |
</gmd:role> | |
</gmd:CI_ResponsibleParty> | |
</gmd:pointOfContact> | |
<gmd:graphicOverview> | |
<gmd:MD_BrowseGraphic> | |
<gmd:fileName> | |
<gco:CharacterString>https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/838d49cd-bcec-4e92-9172-fabb96c21b3d/attachments/map.png</gco:CharacterString> | |
</gmd:fileName> | |
<gmd:fileDescription> | |
<gco:CharacterString>thumbnail</gco:CharacterString> | |
</gmd:fileDescription> | |
</gmd:MD_BrowseGraphic> | |
</gmd:graphicOverview> | |
<gmd:descriptiveKeywords> | |
<gmd:MD_Keywords> | |
<gmd:keyword> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceCategory/infoMapAccessService">infoMapAccessService</gmx:Anchor> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>wkpb</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>publiekrechtelijke</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>beperking</gco:CharacterString> | |
</gmd:keyword> | |
<gmd:keyword> | |
<gco:CharacterString>gebiedsbeheer</gco:CharacterString> | |
</gmd:keyword> | |
</gmd:MD_Keywords> | |
</gmd:descriptiveKeywords> | |
<gmd:descriptiveKeywords> | |
<gmd:MD_Keywords> | |
<gmd:keyword> | |
<gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/nl/inspire-theme/am">Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden</gmx:Anchor> | |
</gmd:keyword> | |
<gmd:type> | |
<gmd:MD_KeywordTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme">theme</gmd:MD_KeywordTypeCode> | |
</gmd:type> | |
<gmd:thesaurusName> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="http://www.eionet.europa.eu/gemet/inspire_themes">GEMET - INSPIRE themes, version 1.0</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2008-06-01</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
<gmd:identifier> | |
<gmd:MD_Identifier> | |
<gmd:code> | |
<gmx:Anchor xlink:href="https://www.nationaalgeoregister.nl/geonetwork/srv/api/registries/vocabularies/external.theme.httpinspireeceuropaeutheme-theme">geonetwork.thesaurus.external.theme.httpinspireeceuropaeutheme-theme</gmx:Anchor> | |
</gmd:code> | |
</gmd:MD_Identifier> | |
</gmd:identifier> | |
</gmd:CI_Citation> | |
</gmd:thesaurusName> | |
</gmd:MD_Keywords> | |
</gmd:descriptiveKeywords> | |
<gmd:resourceConstraints> | |
<gmd:MD_Constraints> | |
<gmd:useLimitation> | |
<gco:CharacterString>Geen beperkingen</gco:CharacterString> | |
</gmd:useLimitation> | |
</gmd:MD_Constraints> | |
</gmd:resourceConstraints> | |
<gmd:resourceConstraints> | |
<gmd:MD_LegalConstraints> | |
<gmd:accessConstraints> | |
<gmd:MD_RestrictionCode codeListValue="otherRestrictions" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode">anders</gmd:MD_RestrictionCode> | |
</gmd:accessConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="https://creativecommons.org/publicdomain/mark/1.0/deed.nl">Geen beperkingen</gmx:Anchor> | |
</gmd:otherConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/ConditionsApplyingToAccessAndUse/noConditionsApply">Geen condities voor toegang en gebruik</gmx:Anchor> | |
</gmd:otherConstraints> | |
</gmd:MD_LegalConstraints> | |
</gmd:resourceConstraints> | |
<gmd:resourceConstraints> | |
<gmd:MD_LegalConstraints> | |
<gmd:accessConstraints> | |
<gmd:MD_RestrictionCode codeListValue="otherRestrictions" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode">anders</gmd:MD_RestrictionCode> | |
</gmd:accessConstraints> | |
<gmd:otherConstraints> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations">Geen beperkingen</gmx:Anchor> | |
</gmd:otherConstraints> | |
</gmd:MD_LegalConstraints> | |
</gmd:resourceConstraints> | |
<srv:serviceType> | |
<gco:LocalName codeSpace="http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType">view</gco:LocalName> | |
</srv:serviceType> | |
<srv:extent> | |
<gmd:EX_Extent> | |
<gmd:geographicElement> | |
<gmd:EX_GeographicBoundingBox> | |
<gmd:westBoundLongitude> | |
<gco:Decimal>3.20625292</gco:Decimal> | |
</gmd:westBoundLongitude> | |
<gmd:eastBoundLongitude> | |
<gco:Decimal>7.24525834</gco:Decimal> | |
</gmd:eastBoundLongitude> | |
<gmd:southBoundLatitude> | |
<gco:Decimal>50.733607</gco:Decimal> | |
</gmd:southBoundLatitude> | |
<gmd:northBoundLatitude> | |
<gco:Decimal>53.582979</gco:Decimal> | |
</gmd:northBoundLatitude> | |
</gmd:EX_GeographicBoundingBox> | |
</gmd:geographicElement> | |
</gmd:EX_Extent> | |
</srv:extent> | |
<srv:couplingType> | |
<srv:SV_CouplingType codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#SV_CouplingType" codeListValue="tight">tight</srv:SV_CouplingType> | |
</srv:couplingType> | |
<srv:containsOperations> | |
<srv:SV_OperationMetadata> | |
<srv:operationName> | |
<gco:CharacterString>GetCapabilities</gco:CharacterString> | |
</srv:operationName> | |
<srv:DCP> | |
<srv:DCPList codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#DCPList" codeListValue="WebServices">WebServices</srv:DCPList> | |
</srv:DCP> | |
<srv:connectPoint> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://service.pdok.nl/kadaster/wkpb/wms/v1_0?request=GetCapabilities&service=WMS</gmd:URL> | |
</gmd:linkage> | |
</gmd:CI_OnlineResource> | |
</srv:connectPoint> | |
</srv:SV_OperationMetadata> | |
</srv:containsOperations> | |
<srv:operatesOn uuidref="5d2ffea6-e7c5-4e29-9474-c13718828779" xlink:href="https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d2ffea6-e7c5-4e29-9474-c13718828779#MD_DataIdentification" /> | |
</srv:SV_ServiceIdentification> | |
</gmd:identificationInfo> | |
<gmd:distributionInfo> | |
<gmd:MD_Distribution> | |
<gmd:transferOptions> | |
<gmd:MD_DigitalTransferOptions> | |
<gmd:onLine> | |
<gmd:CI_OnlineResource> | |
<gmd:linkage> | |
<gmd:URL>https://service.pdok.nl/kadaster/wkpb/wms/v1_0?request=GetCapabilities&service=WMS</gmd:URL> | |
</gmd:linkage> | |
<gmd:protocol> | |
<gmx:Anchor xlink:href="http://www.opengis.net/def/serviceType/ogc/wms">OGC:WMS</gmx:Anchor> | |
</gmd:protocol> | |
<gmd:description> | |
<gmx:Anchor xlink:href="http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/accessPoint">accessPoint</gmx:Anchor> | |
</gmd:description> | |
</gmd:CI_OnlineResource> | |
</gmd:onLine> | |
</gmd:MD_DigitalTransferOptions> | |
</gmd:transferOptions> | |
</gmd:MD_Distribution> | |
</gmd:distributionInfo> | |
<gmd:dataQualityInfo> | |
<gmd:DQ_DataQuality> | |
<gmd:scope> | |
<gmd:DQ_Scope> | |
<gmd:level> | |
<gmd:MD_ScopeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="service">service</gmd:MD_ScopeCode> | |
</gmd:level> | |
<gmd:levelDescription> | |
<gmd:MD_ScopeDescription> | |
<gmd:other> | |
<gco:CharacterString>service</gco:CharacterString> | |
</gmd:other> | |
</gmd:MD_ScopeDescription> | |
</gmd:levelDescription> | |
</gmd:DQ_Scope> | |
</gmd:scope> | |
<gmd:report> | |
<gmd:DQ_DomainConsistency> | |
<gmd:result> | |
<gmd:DQ_ConformanceResult> | |
<gmd:specification> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="http://data.europa.eu/eli/reg/2009/976">VERORDENING (EG) Nr. 976/2009 VAN DE COMMISSIE van 19 oktober 2009 tot uitvoering van Richtlijn 2007/2/EG van het Europees Parlement en de Raad wat betreft de netwerkdiensten</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2009-10-19</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:specification> | |
<gmd:explanation> | |
<gco:CharacterString>Conform verordening</gco:CharacterString> | |
</gmd:explanation> | |
<gmd:pass> | |
<gco:Boolean>true</gco:Boolean> | |
</gmd:pass> | |
</gmd:DQ_ConformanceResult> | |
</gmd:result> | |
</gmd:DQ_DomainConsistency> | |
</gmd:report> | |
<gmd:report> | |
<gmd:DQ_DomainConsistency> | |
<gmd:result> | |
<gmd:DQ_ConformanceResult> | |
<gmd:specification> | |
<gmd:CI_Citation> | |
<gmd:title> | |
<gmx:Anchor xlink:href="https://inspire.ec.europa.eu/documents/technical-guidance-implementation-inspire-view-services-1">Technical Guidance for the implementation of INSPIRE view Services</gmx:Anchor> | |
</gmd:title> | |
<gmd:date> | |
<gmd:CI_Date> | |
<gmd:date> | |
<gco:Date>2013-04-04</gco:Date> | |
</gmd:date> | |
<gmd:dateType> | |
<gmd:CI_DateTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publicatie</gmd:CI_DateTypeCode> | |
</gmd:dateType> | |
</gmd:CI_Date> | |
</gmd:date> | |
</gmd:CI_Citation> | |
</gmd:specification> | |
<gmd:explanation> | |
<gco:CharacterString>Conform technische specificatie</gco:CharacterString> | |
</gmd:explanation> | |
<gmd:pass> | |
<gco:Boolean>true</gco:Boolean> | |
</gmd:pass> | |
</gmd:DQ_ConformanceResult> | |
</gmd:result> | |
</gmd:DQ_DomainConsistency> | |
</gmd:report> | |
</gmd:DQ_DataQuality> | |
</gmd:dataQualityInfo> | |
</gmd:MD_Metadata> | |
#!/usr/bin/env bash | |
csw_client_script="https://gist.githubusercontent.com/arbakker/3b6661677a4d7f5783523892a7a73a40/raw/7143e48f4e730a56da958b7d59b3e8957c919193/csw-client.sh" | |
if [[ ! -f "./csw-client.sh" ]]; then | |
wget "$csw_client_script" >/dev/null | |
chmod +x csw-client.sh | |
fi | |
source ./.env # env should contain CATALOG, CATALOGUSER and CATALOGPASS env vars | |
MD_FILE="metadata.xml" | |
MD_FILE_EDIT="metadata-edit.xml" | |
MD_ID=$(xmlstarlet sel -N gmd="http://www.isotc211.org/2005/gmd" -N gco="http://www.isotc211.org/2005/gco" --text -t -v "//gmd:fileIdentifier/gco:CharacterString" $MD_FILE) | |
# test | |
TEST_NAME="publish and delete record" | |
echo "TEST: ${TEST_NAME}" | |
if ./csw-client.sh -i "$MD_ID" >/dev/null; then # test if md record is not already published | |
echo "ERROR: expected metadata record with ID ${MD_ID} not to exist" | |
echo "INFO: deleting metadata record with ID ${MD_ID}" | |
./csw-client.sh -o DELETE -i "$MD_ID" | |
fi | |
./csw-client.sh -f "$MD_FILE" -o "UPSERT" | |
if ! ./csw-client.sh -i "$MD_ID" >/dev/null; then # test if md record is published | |
echo "ERROR: expected metadata record with ID ${MD_ID} to exist" | |
exit 1 | |
fi | |
./csw-client.sh -f "$MD_FILE_EDIT" -o "UPSERT" | |
if ! ./csw-client.sh -i "$MD_ID" | grep "FOOBAR TEST WMS - EDITED" >/dev/null; then | |
echo "ERROR: expected metadata record with ID ${MD_ID} and title \"FOOBAR TEST WMS - EDITED\"" | |
exit 1 | |
fi | |
./csw-client.sh -o DELETE -i "$MD_ID" | |
if ./csw-client.sh -i "$MD_ID" >/dev/null; then # test if md record is deleted | |
echo "ERROR: expected metadata record with ID ${MD_ID} not to exist" | |
exit 1 | |
fi | |
echo "INFO: test succesful ${TEST_NAME} for ${CATALOG}" | |
exit 0 |