[Mapbender-commits] r9803 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 9 08:51:43 PDT 2017


Author: armin11
Date: 2017-10-09 08:51:43 -0700 (Mon, 09 Oct 2017)
New Revision: 9803

Modified:
   trunk/mapbender/http/classes/class_crs.php
Log:
rewind change

Modified: trunk/mapbender/http/classes/class_crs.php
===================================================================
--- trunk/mapbender/http/classes/class_crs.php	2017-10-09 15:36:42 UTC (rev 9802)
+++ trunk/mapbender/http/classes/class_crs.php	2017-10-09 15:51:43 UTC (rev 9803)
@@ -62,11 +62,12 @@
 		$owsWithOrderAsDefined = array("wms_1.3.0","wfs_1.1.0","wfs_2.0.0","wfs_2.0.2");
 		$order = "east,north"; //dummy postgis/oracle spatial order
 		if (in_array($targetOws, $owsWithSpecialOrder) && $this->identifierType == 'epsg' && $this->axisOrder !== $order) {
-			return false; //cause it is hardcoded in the specs to user lon/lat as this is so in postgis
+			//return false; //cause it is hardcoded in the specs to user lon/lat as this is so in postgis
+			return true;
 		} else {
-			if (in_array($targetOws, $owsWithOrderAsDefined) && $this->axisOrder !== $order) {
+			/*if (in_array($targetOws, $owsWithOrderAsDefined) && $this->axisOrder !== $order) {
 				return true;
-			}
+			}*/
 			return false;
 		}
 	}



More information about the Mapbender_commits mailing list