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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 6 06:49:13 PST 2017


Author: armin11
Date: 2017-11-06 06:49:13 -0800 (Mon, 06 Nov 2017)
New Revision: 9810

Modified:
   trunk/mapbender/http/classes/class_crs.php
Log:
Fix

Modified: trunk/mapbender/http/classes/class_crs.php
===================================================================
--- trunk/mapbender/http/classes/class_crs.php	2017-11-06 14:19:47 UTC (rev 9809)
+++ trunk/mapbender/http/classes/class_crs.php	2017-11-06 14:49:13 UTC (rev 9810)
@@ -96,9 +96,10 @@
 				//case urn:x-ogc:def:crs:EPSG:25832?? - geoserver
                                 if (substr(strtoupper($identifier), 0, 23) === "URN:X-OGC:DEF:CRS:EPSG:") {
 					//delete this part from original identifier
-					$identifierNew = str_replace('URN:X-OGC:DEF:CRS:EPSG:','',strtoupper($identifier));			
+					$identifierNew = str_replace('URN:X-OGC:DEF:CRS:EPSG:','',strtoupper($identifier));	
 					$this->identifier = $identifier;
-					$this->identifierType = 'urn';
+					//TODO - use url encoding for resolving registry ;-) maybe change this
+					$this->identifierType = 'url';
 					$this->identifierCode = $identifierNew;	
 					return; 
 				} else {



More information about the Mapbender_commits mailing list