[Mapbender-commits] r9592 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 12 05:22:45 PDT 2016
Author: verenadiewald
Date: 2016-09-12 05:22:45 -0700 (Mon, 12 Sep 2016)
New Revision: 9592
Modified:
trunk/mapbender/http/php/wfs.php
Log:
small bugfix for correct db values for replacement (getcapabilities, getfeature)
Modified: trunk/mapbender/http/php/wfs.php
===================================================================
--- trunk/mapbender/http/php/wfs.php 2016-09-09 10:41:44 UTC (rev 9591)
+++ trunk/mapbender/http/php/wfs.php 2016-09-12 12:22:45 UTC (rev 9592)
@@ -280,13 +280,13 @@
$elements = $xpath->query('/wfs:WFS_Capabilities/ows:OperationsMetadata/ows:Operation[@name="GetCapabilities"]/ows:DCP/ows:HTTP/ows:Post');
if ($elements->length >= 1) {
$element = $elements->item(0);
- $element->setAttribute("xlink:href", $wfs_row['wfs_describefeaturetype']);
+ $element->setAttribute("xlink:href", $wfs_row['wfs_getcapabilities']);
}
$elements = $xpath->query('/wfs:WFS_Capabilities/ows:OperationsMetadata/ows:Operation[@name="GetCapabilities"]/ows:DCP/ows:HTTP/ows:Get');
if ($elements->length >= 1) {
$element = $elements->item(0);
- $element->setAttribute("xlink:href", $wfs_row['wfs_describefeaturetype']);
+ $element->setAttribute("xlink:href", $wfs_row['wfs_getcapabilities']);
}
$elements = $xpath->query('/wfs:WFS_Capabilities/ows:OperationsMetadata/ows:Operation[@name="DescribeFeatureType"]/ows:DCP/ows:HTTP/ows:Post');
@@ -304,13 +304,13 @@
$elements = $xpath->query('/wfs:WFS_Capabilities/ows:OperationsMetadata/ows:Operation[@name="GetFeature"]/ows:DCP/ows:HTTP/ows:Post');
if ($elements->length >= 1) {
$element = $elements->item(0);
- $element->setAttribute("xlink:href", $wfs_row['wfs_describefeaturetype']);
+ $element->setAttribute("xlink:href", $wfs_row['wfs_getfeature']);
}
$elements = $xpath->query('/wfs:WFS_Capabilities/ows:OperationsMetadata/ows:Operation[@name="GetFeature"]/ows:DCP/ows:HTTP/ows:Get');
if ($elements->length >= 1) {
$element = $elements->item(0);
- $element->setAttribute("xlink:href", $wfs_row['wfs_describefeaturetype']);
+ $element->setAttribute("xlink:href", $wfs_row['wfs_getfeature']);
}
More information about the Mapbender_commits
mailing list