GeoServer

WMS GetCapabilities returns <SRS>EPSG:</SRS> when there are no feature types defined

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6.2
  • Fix Version/s: 1.6.3
  • Component/s: WMS
  • Labels:
    None
  • Environment:
    WindowsXP and Java 1.5.
  • Number of attachments :
    0

Description

WMS GetCapabilities request returns <SRS>EPSG:</SRS> when there are no feature types defined. This causes problems for ArcMap 9.2 map when the data frame is projected to a non-defined EPSG projection.

For more history see:
http://jira.codehaus.org/browse/GEOS-1825

Activity

Hide
Andrea Aime added a comment -

Hum, not sure I understand. What is a GeoServer without layers good for, and why would a client want to connect to it?

Show
Andrea Aime added a comment - Hum, not sure I understand. What is a GeoServer without layers good for, and why would a client want to connect to it?
Hide
Andrea Aime added a comment -

Also, most of the complaints we have from ArcGIS users are due to the length of the epsg list, since ArcGIS is so dummy to try and check every epsg code we do report.
If that's your case too, GEOS-1830 will provide a way to limit the srs list to a set of user specified values.

Show
Andrea Aime added a comment - Also, most of the complaints we have from ArcGIS users are due to the length of the epsg list, since ArcGIS is so dummy to try and check every epsg code we do report. If that's your case too, GEOS-1830 will provide a way to limit the srs list to a set of user specified values.
Hide
Andrea Aime added a comment -

Ah sorry, just read the mail thread on gs-users. So in your case, you have no feature types, but you have coverages, right?

Show
Andrea Aime added a comment - Ah sorry, just read the mail thread on gs-users. So in your case, you have no feature types, but you have coverages, right?
Hide
Chris Holmes added a comment -

Gabriel, could you take a look at this while you're doing your other epsg stuff?

Show
Chris Holmes added a comment - Gabriel, could you take a look at this while you're doing your other epsg stuff?
Hide
Alan Smith added a comment -

Yes; I have coverages, but I do not have any feature types. This server is dedicated to serving WMS and WCS.

Show
Alan Smith added a comment - Yes; I have coverages, but I do not have any feature types. This server is dedicated to serving WMS and WCS.
Hide
Gabriel Roldán added a comment -

ok, there were very old code sitting in WMSCapsTransformer that were trying to guess for a common CRS used by all the feature types, not checking if there were no featuretypes. That was from the days previous to supporting reprojection in the WMS. After reprojection was added the list of supported CRS was added to the root Layer but this code kept untouched.

I just removed a bunch of old code and also included the raster layer bounding boxes in the aggregated root layer envelope (see GEOS-1833)

Show
Gabriel Roldán added a comment - ok, there were very old code sitting in WMSCapsTransformer that were trying to guess for a common CRS used by all the feature types, not checking if there were no featuretypes. That was from the days previous to supporting reprojection in the WMS. After reprojection was added the list of supported CRS was added to the root Layer but this code kept untouched. I just removed a bunch of old code and also included the raster layer bounding boxes in the aggregated root layer envelope (see GEOS-1833)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: