[Mapbender-commits] r8775 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 11 00:07:05 PST 2014


Author: armin11
Date: 2014-02-11 00:07:05 -0800 (Tue, 11 Feb 2014)
New Revision: 8775

Modified:
   trunk/mapbender/http/php/mod_inspireAtomFeedISOMetadata.php
   trunk/mapbender/http/php/mod_layerISOMetadata.php
Log:
Bugfix for wrong codelist entry in iso19139

Modified: trunk/mapbender/http/php/mod_inspireAtomFeedISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireAtomFeedISOMetadata.php	2014-02-10 11:34:02 UTC (rev 8774)
+++ trunk/mapbender/http/php/mod_inspireAtomFeedISOMetadata.php	2014-02-11 08:07:05 UTC (rev 8775)
@@ -536,7 +536,8 @@
 	//generate characterset part - first it should be utf8 ;-)
 	$characterSet = $iso19139->createElement("gmd:characterSet");
 	$characterSetCode = $iso19139->createElement("gmd:MD_CharacterSetCode");
-	$characterSetCode->setAttribute("codeList", "http://www.loc.gov/standards/iso639-2");
+	$characterSetCode->setAttribute("codeList", "http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmx
+Codelists.xml#MD_CharacterSetCode");
 	$characterSetCode->setAttribute("codeListValue", "utf8");
 	$characterSet->appendChild($characterSetCode);
 	$characterSet = $MD_Metadata->appendChild($characterSet);

Modified: trunk/mapbender/http/php/mod_layerISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_layerISOMetadata.php	2014-02-10 11:34:02 UTC (rev 8774)
+++ trunk/mapbender/http/php/mod_layerISOMetadata.php	2014-02-11 08:07:05 UTC (rev 8775)
@@ -179,7 +179,8 @@
 	//generate characterset part - first it should be utf8 ;-)
 	$characterSet = $iso19139->createElement("gmd:characterSet");
 	$characterSetCode = $iso19139->createElement("gmd:MD_CharacterSetCode");
-	$characterSetCode->setAttribute("codeList", "http://www.loc.gov/standards/iso639-2");
+	$characterSetCode->setAttribute("codeList", "http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/ML_gmx
+Codelists.xml#MD_CharacterSetCode");
 	$characterSetCode->setAttribute("codeListValue", "utf8");
 	$characterSet->appendChild($characterSetCode);
 	$characterSet = $MD_Metadata->appendChild($characterSet);



More information about the Mapbender_commits mailing list