[Mapbender-commits] r8393 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 25 05:52:48 PDT 2012


Author: astrid_emde
Date: 2012-06-25 05:52:47 -0700 (Mon, 25 Jun 2012)
New Revision: 8393

Modified:
   branches/2.7/http/classes/class_wms.php
Log:
include require_once dirname(__FILE__) . "/../../core/epsg.php";

Modified: branches/2.7/http/classes/class_wms.php
===================================================================
--- branches/2.7/http/classes/class_wms.php	2012-06-25 12:51:12 UTC (rev 8392)
+++ branches/2.7/http/classes/class_wms.php	2012-06-25 12:52:47 UTC (rev 8393)
@@ -6,6 +6,7 @@
 # http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
 
 require_once dirname(__FILE__) . "/../../core/globalSettings.php";
+require_once dirname(__FILE__) . "/../../core/epsg.php";
 require_once dirname(__FILE__) . "/class_connector.php";
 require_once dirname(__FILE__) . "/class_user.php";
 require_once dirname(__FILE__) . "/class_Uuid.php";
@@ -983,6 +984,7 @@
 					$tmp_epsg = $element[attributes][CRS];
 					$tmp_epsg = str_replace('CR:','',str_replace ( 'EPSG:', '', $tmp_epsg ));
 					if ($tmp_epsg >= 4000 && $tmp_epsg < 5000){
+					#if(check_epsg_wms_13($tmp_epsg))
 						$this->objLayer[$cnt_layer]->layer_epsg[$cnt_epsg]["minx"] = $element[attributes][miny];
 						$this->objLayer[$cnt_layer]->layer_epsg[$cnt_epsg]["miny"] = $element[attributes][minx];
 						$this->objLayer[$cnt_layer]->layer_epsg[$cnt_epsg]["maxx"] = $element[attributes][maxy];



More information about the Mapbender_commits mailing list