[OpenLayers-Users] WFS filter send using POST ?
Eric Lemoine
eric.lemoine at camptocamp.com
Mon Nov 2 05:05:02 EST 2009
On Tue, Oct 20, 2009 at 7:39 PM, Pere Roca Ristol <peroc79 at gmail.com> wrote:
>
>
> hi,
>
> can I send this simple WFS filter via POST? (I want to add multiple
> parameters in the filter and I'm afraid GET requests will not allow this
> URL length). Where should it be specified?
>
> wfs = new OpenLayers.Layer.WFS( "myWFS",
> "http://my_geoserver/wfs",{typename:"topp:layer",filter:my_filter});
use Layer.Vector with a Protocol.WFS, and the WFS GetFeature requests
will be sent using POST.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list