0

I use OpenLayers and GeoServer. I can read kml file format from OpenLayers. And I want to edit this polygon in kml. So I want polygon data(polygon circle and center coordinate etc..) to GeoServer.

4
  • What do you mean by " I want polygon data(polygon circle and center coordinate etc..) to GeoServer."?
    – neogeomat
    Commented Aug 26, 2013 at 10:01
  • I want to send polygon data to GeoServer Commented Aug 27, 2013 at 12:32
  • You are reading from a local file. Do you want to upload the changes to server?
    – neogeomat
    Commented Aug 27, 2013 at 14:34
  • I m reading local file but I want to read and change from GeoServer. Commented Aug 28, 2013 at 8:06

1 Answer 1

3

For that, you could publish your polygon through a WFS-T Services and loading into your Open Layers viewer, allowing you to edit it.

Look at this example: http://openlayers.org/dev/examples/wfs-protocol-transactions.html

Keep in mind to set properly the proxy.cgi

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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