[Mapbender-commits] r9119 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Oct 29 06:05:57 PDT 2014
Author: armin11
Date: 2014-10-29 06:05:57 -0700 (Wed, 29 Oct 2014)
New Revision: 9119
Modified:
trunk/mapbender/http/php/mod_inspireDownloadFeed.php
Log:
Bugfix for identical urls
Modified: trunk/mapbender/http/php/mod_inspireDownloadFeed.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2014-10-29 12:50:02 UTC (rev 9118)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2014-10-29 13:05:57 UTC (rev 9119)
@@ -908,9 +908,9 @@
$feedLink = $feedDoc->createElement("link");
if ($type == 'SERVICE') {
if ($generateFrom == 'wfs') {
- $feedLink->setAttribute("href", $mapbenderPath."php/mod_inspireAtomFeedISOMetadata.php?Id=".$recordId."&outputFormat=iso19139&generateFrom=".$generateFrom."&wfsid=".$wfsId);
+ $feedLink->setAttribute("href", $mapbenderPath."php/mod_inspireAtomFeedISOMetadata.php?id=".$recordId."&outputFormat=iso19139&generateFrom=".$generateFrom."&wfsid=".$wfsId);
} else {
- $feedLink->setAttribute("href", $mapbenderPath."php/mod_inspireAtomFeedISOMetadata.php?Id=".$recordId."&outputFormat=iso19139&generateFrom=".$generateFrom."&layerid=".$layerId);
+ $feedLink->setAttribute("href", $mapbenderPath."php/mod_inspireAtomFeedISOMetadata.php?id=".$recordId."&outputFormat=iso19139&generateFrom=".$generateFrom."&layerid=".$layerId);
}
@@ -925,7 +925,7 @@
//self reference - 5.1.4 / 5.2
if ($type == 'SERVICE') {
- $selfReference = $mapbenderServerUrl.$_SERVER['SCRIPT_NAME']."?ID=".$recordId."&type=SERVICE&generatefrom=".$generateFrom;
+ $selfReference = $mapbenderServerUrl.$_SERVER['SCRIPT_NAME']."?id=".$recordId."&type=SERVICE&generatefrom=".$generateFrom;
switch($generateFrom) {
case "wmslayer":
$selfReference .= "&layerid=".$mapbenderMetadata[$m]->layer_id;
@@ -935,7 +935,7 @@
break;
}
} else { //DATASET
- $selfReference = $mapbenderServerUrl.$_SERVER['SCRIPT_NAME']."?ID=".$recordId."&type=DATASET&generatefrom=".$generateFrom;
+ $selfReference = $mapbenderServerUrl.$_SERVER['SCRIPT_NAME']."?id=".$recordId."&type=DATASET&generatefrom=".$generateFrom;
switch($generateFrom) {
case "wmslayer":
$selfReference .= "&layerid=".$mapbenderMetadata[$m]->layer_id;
More information about the Mapbender_commits
mailing list