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.

Can you help me? I have a very difficult problem when doing project...

I have used OpenLayers and GeoServer. When I click in the map to get feature info, I receive the info for the feature and region clicked.

Example: RegionName:Hanoi,Population:500...

I want to know how I can change the attribute value "RegionName" from Hanoi to HaThanh and save it in Geoserver. After I load the map I wish to receive the changed information.

Example: RegionName:HaThanh,Population:500...

Help me! Thanks.

share|improve this question

3 Answers 3

beside @dariapra's answer, there is really good documentation here about OpenLayers WFS-T Using a GeoServer Hosted PostGIS Layer which you should check out.

i hope it helps you...

share|improve this answer

A technology that can help you with this issue is transactional WFS (WFS-T). In the case of GeoServer, WFS-T requires the use of a PostGIS database as data source. On the client side, the following OpenLayers example can be helpful: WFS Transaction Example.

share|improve this answer

I guess you might want to save the data to some data source, either a spatial database or some files that can store spatial data(shp, gml, etc.). Geoserver is just a software server used for publishing geospatial data from some spatial data source, but not a place to store the data. If so, then you might want to check out openlayers Requesting Remote Data. You'll also need to do some server-side programming to save the submitted data from the client(browser) to database. Then next time you retrieve maps from Geoserver, it will get updated data from database.

share|improve this answer

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.
{"cc_re__cc_re__cc_by_sa_3_0": ["                  <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2015 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2015.4.24.2525\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Geographic Information Systems Stack Exchange works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\""], "copyright__copyright__copyright": [" so, then you might want to check out openlayers Requesting Remote Data. You'll also need to do some server-side programming to save the submitted data from the client(browser) to database. Then next time you retrieve maps from Geoserver, it will get updated data from database.\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}