<div dir="ltr">I have been making a serious (relatively? :) attempt at understanding what is to be done regarding Protocol.WFS and related classes. I looked at it from the angle in which it would be useful for me in the case I described before.<br>
<br>* the standard WFS-T<br>* Fixed and Save (and perhaps SaveGreedy) strategy<br><br>From I can gather none of these are far from complete, but what I'm missing is option to filter the input in Fixed strategy. I noticed that the trunk version of BBOX strategy looks for additional filters in the layer and while it might be a good place put the additional filter I can't see any indication that Layer actually is supposed to support such a property. If it should it should be documented and used by fixed strategy also?<br>
<br>I would like to to implement this before beeing able to do serious testing. I nice thing is that I could test stuff directly in a real world case where I'm using (successfully) the clumsy old Layer.WFS way with a temp layer. But before that I would like to confirm that I got the right idea...<br>
<br>A question on the side... why are some methods declared "JSONy" i.e 'read' instead of read? <br><br>/Björn<br><br><div class="gmail_quote">On Wed, Sep 17, 2008 at 2:10 AM, Tim Schaub <span dir="ltr"><<a href="mailto:tschaub@opengeo.org">tschaub@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey-<br>
<div class="Ih2E3d"><br>
Björn Harrtell wrote:<br>
> Hi devs,<br>
><br>
> I'm coding an application that uses OL vector editing and WFS<br>
> transactions quite heavily.<br>
><br>
> I use a temporary OpenLayers.Layer.Vector for editing, moving stuff to a<br>
> OpenLayers.Layer.WFS as the user makes edits. This is a bit clumsy and<br>
> complicated but works. The reason why I'm doing this is because<br>
> OpenLayers.Layer.WFS only supports GET and is also loading features on<br>
> demand (hmm is this correct?) which doesn't fit my needs. Note that I do<br>
> not add the OpenLayers.Layer.WFS to a map, I only use create/commit the<br>
> WFS transactions.<br>
><br>
> I would like to use something like a static/manually triggered WFS<br>
> (supporting POST and filtering) source to an OpenLayers.Layer.Vector<br>
> that syncs changes to the WFS source which then can be commited<br>
> programmatically.<br>
><br>
> Is this sort of what OpenLayers.Protocol.WFS (which I think is beeing<br>
> worked on?) is supposed to be used for? Or would it be sensible to make<br>
> something more of OpenLayers.Layer.WFS instead?<br>
<br>
</div>Yes, this is exactly the job for a WFS protocol. As Eric mentions, the<br>
work is mostly in the vector-behavior sandbox. I'll make an effort to<br>
update that and to get a patch ready for the trunk.<br>
<br>
My hope is to get the WFS protocol in the trunk before the end of next<br>
week. Any help you can contribute would be appreciated.<br>
<br>
Watch the WFS protocol ticket [1] for updates from me, and leave any<br>
comments/patches there that you put together.<br>
<br>
Tim<br>
<br>
[1] <a href="http://trac.openlayers.org/ticket/1648" target="_blank">http://trac.openlayers.org/ticket/1648</a><br>
<div class="Ih2E3d"><br>
<br>
><br>
> Either way, I'm interested in (trying) to help out if this seems like<br>
> something you would like to support in OL, and can probably do it as a<br>
> part of the current project as it would simplify things for me I think.<br>
><br>
> Regards,<br>
><br>
> Björn Harrtell<br>
> GIS Consultant<br>
> SWECO Position AB<br>
</div><div class="Ih2E3d">> <<a href="http://www.swecogroup.com/en/Sweco-group/Services/Geographic-IT/" target="_blank">http://www.swecogroup.com/en/Sweco-group/Services/Geographic-IT/</a>><br>
><br>
><br>
</div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Dev mailing list<br>
> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
<font color="#888888"><br>
<br>
--<br>
Tim Schaub<br>
OpenGeo - <a href="http://opengeo.org" target="_blank">http://opengeo.org</a><br>
Expert service straight from the developers.<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</font></blockquote></div><br></div>