Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am creating a data editing application in OpenLayers where the user will need to be able to edit the attributes of features (which are stored on a GeoServer installation). I have seen documentation for editing features in a WFS layer, but I haven't found anything detailing how to edit the attributes of a feature in a WMS layer. Is this feasible to do using a WMS layer?

I am currently retrieving data from GeoServer using the GetFeatureInfo request. I would like to load this data into a div, modify it, then save it back to the server. I haven't seen any examples of OpenLayers maps doing this, but I feel like it should involve a simple POST request to the server.

share|improve this question
add comment

1 Answer

This is not possible - a WMS just sends you a picture of the data. You need to use a WFS which sends you the actual data. You can then use WFS-T to send back the changes.

share|improve this answer
    
Thanks for the quick response. I had assumed that since you could get the feature info with GetFeatureInfo, you could also set it somehow (without the need of WFS). Thanks again. –  Tanner Jan 21 '13 at 23:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.