[OpenLayers-Users] WFS + Filter
Andreas Hocevar
ahocevar at opengeo.org
Mon Nov 23 04:19:32 EST 2009
stash wrote:
>
> Andreas Hocevar-2 wrote:
>
>> Hi,
>>
>> Please use Layer.Vector with a BBOX strategy and a WFS protocol instead
>> of Layer.WMS and see if it works then. Also double-check if your Point_1
>> is in the viewport, otherwise it won't be loaded because your custom
>> filter is combined with a BBOX filter for the viewport.
>>
>>
>>
>
> Hi,
> thanks for the hint. But can you tell me how to implement such a bbox
> strategy and a wfs protocol? I'm a beginner in programming with openlayers
> and I've never heard this before.
>
Learn by example: http://www.openlayers.org/dev/examples/wfs-protocol.html
> What do you mean by double-check?
>
I was just saying that it might be the case that your point is not
returned from the WFS because it is not inside the bounding box of your
current map viewport.
Regards,
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list