From: Ryan H. <rya...@ng...> - 2008-03-26 21:47:17
|
On Mar 26, 2008, at 11:44 AM, Smith, Alan G. wrote: > I would like to know how the the common SRS generated in the WMF > GetCapabilities request. I am receiving the following in my > response from WMS GetCapabilities request: > <!--common SRS:--> > <SRS>EPSG:</SRS> > I would like to figure out what I have done to cause this since it > causes problems for ESRI's ArcMap. > 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. Cheers, Ryan |