Hi,I am working on WFS-T update. Below is the code i am using to do
map.addInteraction(interactionSelect); interaction = new
ol.interaction.Modify({ features:
interactionSelect.getFeatures() });
map.addInteraction(interaction); dirty = {};
interactionSelect.getFeatures().on('add', function (e) {
e.element.on('change', function (e) {
dirty[e.target.getId()] = true; }); });
interactionSelect.getFeatures().on('remove', function (e) {
var f = e.element; if (dirty[f.getId()]) {
delete dirty[f.getId()]; var featureProperties =
f.getProperties(); delete featureProperties.bbox;
var clone = new ol.Feature(featureProperties);
clone.setId(f.getId()); transactWFS_polygon('update',
clone); ; } });i need to re-project
modified feature.How to do it
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/How-to-reproject-modifying-data-in-WFS-T-tp5312196.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users