[Mapbender-commits] r9791 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 29 05:11:42 PDT 2017
Author: armin11
Date: 2017-09-29 05:11:42 -0700 (Fri, 29 Sep 2017)
New Revision: 9791
Modified:
trunk/mapbender/http/php/mod_inspireDownloadFeed.php
Log:
Fix
Modified: trunk/mapbender/http/php/mod_inspireDownloadFeed.php
===================================================================
--- trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2017-09-29 11:58:51 UTC (rev 9790)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2017-09-29 12:11:42 UTC (rev 9791)
@@ -1373,16 +1373,16 @@
</fes:Filter>
*/
if (!isset($mapbenderMetadata[$i]->geometry_field_name[0]) || $mapbenderMetadata[$i]->geometry_field_name[0] == '') {
- $mapbenderMetadata[$i]->geometry_field_name[0] = 'geometry';
+ $geometryFieldName = 'geometry';
}
$currentBbox = explode(',',$bboxWfs[$mapbenderMetadata[$i]->featuretype_name][$l]);
if (strpos($mapbenderMetadata[$i]->featuretype_name, ':') !== false) {
$ftNamespace = explode(':', $mapbenderMetadata[$i]->featuretype_name);
$ftNamespace = $ftNamespace[0];
- $geometryFieldName = $ftNamespace.':'.$mapbenderMetadata[$i]->geometry_field_name[0];
+ $geometryFieldName = $ftNamespace.':'.$geometryFieldName;
} else {
$ftNamespace = false;
- $geometryFieldName = $mapbenderMetadata[$i]->geometry_field_name[0];
+ $geometryFieldName = $geometryFieldName;
}
switch ($mapbenderMetadata[$i]->wfs_version) {
case "2.0.0":
More information about the Mapbender_commits
mailing list