jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoServer
  • GEOS-1825

Is it possible to remove the <SRS>EPSG:</SRS> returned by the WMS GetCapabilities request?

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major 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.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Alan Smith added a comment - 26/Mar/08 5:07 PM

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.

Show
Alan Smith added a comment - 26/Mar/08 5:07 PM 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.
Hide
Permalink
Alan Smith added a comment - 26/Mar/08 5:18 PM

Replaced wish with bug:
http://jira.codehaus.org/browse/GEOS-1832

Show
Alan Smith added a comment - 26/Mar/08 5:18 PM Replaced wish with bug: http://jira.codehaus.org/browse/GEOS-1832
Hide
Permalink
Andrea Aime added a comment - 03/Nov/08 1:51 AM

All these issues have been in "resolved" state for at least one month (many of them, much more than that). Since no one has reopened them, I'm mass-switching them to closed state. Reopen if you feel the issue has not been addressed properly.

Show
Andrea Aime added a comment - 03/Nov/08 1:51 AM All these issues have been in "resolved" state for at least one month (many of them, much more than that). Since no one has reopened them, I'm mass-switching them to closed state. Reopen if you feel the issue has not been addressed properly.

People

  • Assignee:
    Andrea Aime
    Reporter:
    Alan Smith
Vote (0)
Watch (0)

Dates

  • Created:
    21/Mar/08 9:36 PM
    Updated:
    03/Nov/08 1:51 AM
    Resolved:
    26/Mar/08 5:18 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.