[OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

Indika Tantrigoda indika85 at gmail.com
Wed Nov 19 10:37:56 EST 2008


Hi,

The method that I used to save features to the server is

map.layers[2]commit();

Would this be an easier way to achieve your task ?

Regards,
Indika

2008/11/19 Christopher Schmidt <crschmidt at metacarta.com>

> On Wed, Nov 19, 2008 at 09:55:48AM -0500, Alexandre Dube wrote:
> > Anybody correct me if I'm wrong :
> >
> > The example uses the Save Strategy to do so.  When the user draws a
> > feature, its state becomes "insert" or something like that.  When a
> > already present features gets modified, its state becomes "update" or
> > something like that.
> >
> > And there's a button that, on click, triggers the save() function of the
> > Save Strategy, check every features of the layer and generate a GML POST
> > INSERT request for new features and GML POST UPDATE request for modifed
> > features...
>
> ... What are you looking at, exactly? There is no such thing as a Save
> Strategy in trunk.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081119/907027c3/attachment.html


More information about the Users mailing list