How to reproject modifying data in WFS-T

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to reproject modifying data in WFS-T

Veena Hosur
This post has NOT been accepted by the mailing list yet.
Hi, I am working WFS-T update.Below my code 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); } }); Before calling transactWFS_polygon i want to reproject feature how can i do it