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 Aug 26 '13 at 10:01
  • I want to send polygon data to GeoServer – Osman Villi Aug 27 '13 at 12:32
  • You are reading from a local file. Do you want to upload the changes to server? – neogeomat Aug 27 '13 at 14:34
  • I m reading local file but I want to read and change from GeoServer. – Osman Villi Aug 28 '13 at 8:06
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, privacy policy and cookie policy

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