Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.6.2
-
Fix Version/s: None
-
Component/s: WMS
-
Labels:None
-
Environment:WindowsXP and Java 1.5.
Description
When an ArcMap 9.2 map is projected to a non-defined EPSG projections, calls to the WMS GetMap request are made with an SRS value of EPSG:0. Which GeoServer returns an error for preventing ArcMap from displaying the data.
I know that EPSG:0 is causing the problem because I saved a copy of the WMS GetCapabilities request removing the <SRS>EPSG:</SRS> from the file, and connected to this file instead of the service. Using the file, I was able to use non-defined EPSG projections in ArcMap 9.2 and ArcMap requested the default SRS and projected the data correctly.
From Ryan Hofschneider's posting to GeoServer Users mailing list on 26 Mar 2008:
I took a look at the handleRootSRSAndBbox method in:
http://svn.codehaus.org/geoserver/tags/1.6.2/geoserver/wms/src/main/java/org/vfny/geoserver/wms/responses/helpers/WMSCapsTransformer.java
and saw (and tested) that if your GeoServer has no registered feature types (e.g. you just have coverages registered), then you'll get a common EPSG string of "EPSG:". I'd file a bug.
Looking at the code, you'll also hit this condition if your layer has an empty string SRS, but off hand I am not sure if that is possible.