Roar Ingebrigtsen created GEOS-5683 |
Issue Type: |
Improvement |
Affects Versions: |
2.1.4 |
Assignee: |
|
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> 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: |
|
Priority: |
Major |
Reporter: |