Issue Type: Improvement Improvement
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: Major Major
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
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to