[OpenLayers-Users] WFS + Filter

Ivan Grcic igrcic at gmail.com
Mon Nov 23 04:48:40 EST 2009


http://n2.nabble.com/request-and-parse-GML-td3991309.html

On Mon, Nov 23, 2009 at 10:19 AM, Andreas Hocevar <ahocevar at opengeo.org> wrote:
> 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.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Ivan Grcic



More information about the Users mailing list