[Mapbender-commits] r9790 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 29 04:58:51 PDT 2017
Author: armin11
Date: 2017-09-29 04:58:51 -0700 (Fri, 29 Sep 2017)
New Revision: 9790
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:52:04 UTC (rev 9789)
+++ trunk/mapbender/http/php/mod_inspireDownloadFeed.php 2017-09-29 11:58:51 UTC (rev 9790)
@@ -1372,8 +1372,10 @@
</fes:BBOX>
</fes:Filter>
*/
+ if (!isset($mapbenderMetadata[$i]->geometry_field_name[0]) || $mapbenderMetadata[$i]->geometry_field_name[0] == '') {
+ $mapbenderMetadata[$i]->geometry_field_name[0] = 'geometry';
+ }
$currentBbox = explode(',',$bboxWfs[$mapbenderMetadata[$i]->featuretype_name][$l]);
- $mapbenderMetadata[$i]->featuretype_name;
if (strpos($mapbenderMetadata[$i]->featuretype_name, ':') !== false) {
$ftNamespace = explode(':', $mapbenderMetadata[$i]->featuretype_name);
$ftNamespace = $ftNamespace[0];
More information about the Mapbender_commits
mailing list