WFS filter send using POST ?

3 messages Options
Embed this post
Permalink
Pere Roca Ristol

WFS filter send using POST ?

Reply Threaded More More options
Print post
Permalink

  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});

  thanks in advance,
  Pere
Eric Lemoine-2-2

Re: WFS filter send using POST ?

Reply Threaded More More options
Print post
Permalink
On Tue, Oct 20, 2009 at 7:39 PM, Pere Roca Ristol <[hidden email]> 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 : [hidden email]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/users
Bhimannah

Re: WFS filter send using POST ?

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,

I want add a hyperlink in the map object (in some cases return by the server). Please how can I implement this one.

Thanks

Bhimanna


On Mon, Nov 2, 2009 at 1:05 PM, Eric Lemoine <[hidden email]> wrote:
On Tue, Oct 20, 2009 at 7:39 PM, Pere Roca Ristol <[hidden email]> 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 : [hidden email]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/users