[Geoserver-devel] [jira] (GEOS-5683) Implementation of OtherSRS for WFS getCapabilities as a global srs-list

Roar Ingebrigtsen created ImprovementGEOS-5683
Implementation of OtherSRS for WFS getCapabilities as a global srs-list

Issue Type:

ImprovementImprovement

Affects Versions:

2.1.4

Assignee:

Andrea Aime

Attachments:

otherSRS.patch

Created:

05/Mar/13 3:29 AM

Description:

We have had demands made of our WFS to make available the OtherSRS tags in our getCapabilities calls, and noted the conversation that took place in the geoserver mailing-list where an option was to implement this change as a global list (as opposed to the changes proposed in GEOS-1207).

I have implemented this as a basic list in wfs.xml with the following syntax:

<otherSRS>
<string>EPSG:4258</string>
<string>EPSG:3575</string>

</otherSRS>

The changes to code have been minimal. I have added the otherSRS field to WFSInfo as a list of strings, and have changed CapabilitiesTransformer for wfs to read the entries and parse them as with DefaultSRS.

Adding the field works well deployed as the WFSXStreamLoader automatically recognizes the field and loads the data. I have not done any changes to the WFSLoader used for unit tests and I am not sure if any changes are needed there.

Note: I have not done any changes to make this usable from the GUI as I wanted to do as little as possible in this patch. Also, changes are done to GeoServer v2.1.4 as this is the version we use in our production system.

The changes done are attached as otherSRS.patch

I have understood that several projects regarding wfs in Norway are interested in having the OtherSRS tag in getCapabilities so incorporating this or a similar change in the GeoServer codebase would help a lot of people out.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Roar Ingebrigtsen

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)