Monday 20 May 2019

geoserver - Using WFS-T in OpenLayers?


How can I use WFS-T in openlayers-2?


I'm using geoserver in server side.



Answer



Define a save strategy as follow and add it to you map:


var saveStrategy = new OpenLayers.Strategy.Save();


Modify the features and then call:


saveStratefy.save();

No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...