[OpenLayers-Users] FEATUREID vs. BBOX in GetFeature for WFS
Eric Lemoine
eric.c2c at gmail.com
Mon Nov 3 12:04:04 EST 2008
Hi.
If you use Layer.WFS you can't remove the BBOX param. Better filter
encoding and WFS support is currently in the work, check out the
topp/wfs sandbox if you want to give this work a try. In the mean
time, if you use 2.7, you can probably do what you want by creating a
Layer.Vector, and configuring it with a Strategy.Fixed, and a
Protocol.HTTP. The Protocol.HTTP must itself be configured with the
complete WFS URL.
Hope this helps,
Eric
2008/11/3, Gissur Þórhallsson <gissur at loftmyndir.is>:
> Hi there,
> I'm using OpenLayers.Layers.WFS.mergeNewParams(...) to retrieve some GML
> from the server according to a FEATUREID that I've already procured.
>
> The problem is that the request tells me the following:
>
> GetFeature KVP request contained conflicting filters. Filter: null, fid:
> lmi_flakar_nafn.396,
> bbox:571406.48554375,565489.84275125,590692.1336562501,579265.3056887499
>
> Which I understand, since these two filters (FEATUREID and BBOX) are
> mutually exclusive.
>
> My question, on the other hand, is how can I remove the BBOX parameter from
> the request?
>
> I can't seem to find it in the docs anywhere.
>
> Any ideas?
>
> Kind thanks from Iceland,
> Gissur
>
More information about the Users
mailing list