[Mapbender-commits] r10301 - trunk/mapbender/http/classes
    svn_mapbender at osgeo.org 
    svn_mapbender at osgeo.org
       
    Mon Oct 28 02:54:40 PDT 2019
    
    
  
Author: armin11
Date: 2019-10-28 02:54:39 -0700 (Mon, 28 Oct 2019)
New Revision: 10301
Modified:
   trunk/mapbender/http/classes/class_metadata.php
Log:
Give back bbox of application metadata as string not as array
Modified: trunk/mapbender/http/classes/class_metadata.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata.php	2019-10-25 08:42:38 UTC (rev 10300)
+++ trunk/mapbender/http/classes/class_metadata.php	2019-10-28 09:54:39 UTC (rev 10301)
@@ -881,7 +881,7 @@
 			}
 			$this->applicationJSON->application->srv[$i]->iso3166 = $spatialSource;
 				
-			$this->applicationJSON->application->srv[$i]->bbox = array($applicationMatrix[$i]['bbox']); //TODO: read out bbox from wmc $applicationMatrix[$i][''];
+			$this->applicationJSON->application->srv[$i]->bbox = $applicationMatrix[$i]['bbox']; //TODO: read out bbox from wmc $applicationMatrix[$i][''];
 			$this->applicationJSON->application->srv[$i]->timeBegin = date("Y-m-d",strtotime($applicationMatrix[$i]['timebegin']));
 			$this->applicationJSON->application->srv[$i]->timeEnd = date("Y-m-d",strtotime($applicationMatrix[$i]['timeend']));
 		}	
    
    
More information about the Mapbender_commits
mailing list