[Mapbender-commits] r9935 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 8 08:49:05 PDT 2018
Author: armin11
Date: 2018-08-08 08:49:05 -0700 (Wed, 08 Aug 2018)
New Revision: 9935
Modified:
trunk/mapbender/http/php/mod_inspireDownloadFeed.php
Log:
Fix describefeaturetype operation name to upper camel case since the spec and deegree need it ;-)
Modified: trunk/mapbender/http/php/mod_inspireDownloadFeed.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2018-08-08 14:09:34 UTC (rev 9934)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2018-08-08 15:49:05 UTC (rev 9935)
@@ -934,9 +934,9 @@
//TODO: set inspire data model reference if conformity is declared and theme is given!
case "wfs":
if ($admin->getWFSOWSstring($mapbenderMetadata[$m]->wfs_id) == false) {
- $feedLink->setAttribute("href", $mapbenderMetadata[$m]->wfs_describefeaturetype."SERVICE=WFS&VERSION=".$mapbenderMetadata[$m]->wfs_version."&REQUEST=DescribeFeaturetype&".$typeParameterName."=".$mapbenderMetadata[$m]->featuretype_name);
+ $feedLink->setAttribute("href", $mapbenderMetadata[$m]->wfs_describefeaturetype."SERVICE=WFS&VERSION=".$mapbenderMetadata[$m]->wfs_version."&REQUEST=DescribeFeatureType&".$typeParameterName."=".$mapbenderMetadata[$m]->featuretype_name);
} else {
- $feedLink->setAttribute("href", $mapbenderServerUrl."/registry/wfs/".$mapbenderMetadata[$m]->wfs_id."?INSPIRE=1&"."SERVICE=WFS&VERSION=".$mapbenderMetadata[$m]->wfs_version."&REQUEST=DescribeFeaturetype&".$typeParameterName."=".$mapbenderMetadata[$m]->featuretype_name);
+ $feedLink->setAttribute("href", $mapbenderServerUrl."/registry/wfs/".$mapbenderMetadata[$m]->wfs_id."?INSPIRE=1&"."SERVICE=WFS&VERSION=".$mapbenderMetadata[$m]->wfs_version."&REQUEST=DescribeFeatureType&".$typeParameterName."=".$mapbenderMetadata[$m]->featuretype_name);
}
$feedLink->setAttribute("rel", "describedby");
$feedLink->setAttribute("type", "application/xml");
More information about the Mapbender_commits
mailing list