On Thursday, November 26, 2009, Ivan Grcic wrote:
> Actually, im not sure if filter should go to protocol. It should go in
> layer options like you put it. Then strategy should take that filter
> and apply it to the protocol when data is requested.
>
> But I dont see any filter options inside Fixe
Ivan Grcic-2 wrote:
>
>
> var combinedFilter=new OpenLayers.Filter.Logical({
>type:OpenLayers.Filter.Logical.AND,
>filters:[filter,radiusFilter]
>});
>
> http://openlayers.org/dev/examples/filter.html
>
>
Hi,
Good idea to look
BTW this is ticket http://trac.openlayers.org/ticket/2152, but it
hasnt been commited to trunk still
On Thu, Nov 26, 2009 at 4:08 PM, Ivan Grcic wrote:
> Check this setRadiusFilter function that Kris mentioned before. Hes
> combining two filters there.
>
> var combinedFilter=new OpenLayers.Filter
Check this setRadiusFilter function that Kris mentioned before. Hes
combining two filters there.
var combinedFilter=new OpenLayers.Filter.Logical({
type:OpenLayers.Filter.Logical.AND,
filters:[filter,radiusFilter]
});
http://openlayers.
Hi,
I have one more question and I hope you can answer it. At the moment i have
one filter which is working. But now, I want to add a second filter to my
wfs protocol.
Is that possible? adding both filters (the variables) in defaultFilter at
the protocol params doesn't work.
Thanks for the help
hi,
thanks for your detailed answer. I set defaultFiler: my_filter in protocol
params and now it's working. That's really great. Thanks.
> You have to apply the patch in order for this to work:
> http://trac.openlayers.org/ticket/2292
> (best is to get OL trunk version from svn)
>
>
I did
On Thu, Nov 26, 2009 at 1:31 PM, stash wrote:
>
>
>
> Hi,
>
> thanks for your answers. But I have to admit, that I don't know exactly what
> to do now. (I have not so much experience in openlayers, so I don't
> understand some of your answers.
>
>
> Kris Geusebroek wrote:
>>
>> Don't know if it wo
Hi,
thanks for your answers. But I have to admit, that I don't know exactly what
to do now. (I have not so much experience in openlayers, so I don't
understand some of your answers.
Kris Geusebroek wrote:
>
> Don't know if it works with fixed strategy but you can try to call
> myLayer.refre
users@openlayers.org
Subject: Re: [OpenLayers-Users] WFS + Filter
Yes, but using it together with Fixed strategy doesnt work. Maybe
there is ticket allready opened for that, ill take a look.
Stash, can you try putting defaultFilter option inside protocol params?
On Thu, Nov 26, 2009 at 12:27 PM,
ers.org [mailto:users-boun...@openlayers.org]
> On Behalf Of Ivan Grcic
> Sent: Thursday, November 26, 2009 12:19 PM
> To: stash
> Cc: users@openlayers.org
> Subject: Re: [OpenLayers-Users] WFS + Filter
>
> Im going to check it out with my data now. I have to examine request
> and s
: Thursday, November 26, 2009 12:19 PM
To: stash
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] WFS + Filter
Im going to check it out with my data now. I have to examine request
and see if the filter is actually sent in the request.
In the meanwhile, can you try with BBOX Strategy instead
Im going to check it out with my data now. I have to examine request
and see if the filter is actually sent in the request.
In the meanwhile, can you try with BBOX Strategy instead of Fixed
strategy?( Put your filter in layer options)
On Thu, Nov 26, 2009 at 12:08 PM, stash
wrote:
>
>
>
> Ivan G
Ivan Grcic-2 wrote:
>
> Hi,
>
> I think filter should go inside protocol params.
> And try with maxFeatures instead of maxfeatures.
>
> Let me know if it worked
> Cheers
>
Hi,
thanks for the hint. First the good news. When I type maxFeatures instead of
maxfeatures it works. Thats fine. But
Actually, im not sure if filter should go to protocol. It should go in
layer options like you put it. Then strategy should take that filter
and apply it to the protocol when data is requested.
But I dont see any filter options inside Fixed strategy, only in BBOX
strategy. New ticket?
So setting f
Hi,
I think filter should go inside protocol params.
And try with maxFeatures instead of maxfeatures.
Let me know if it worked
Cheers
On Thu, Nov 26, 2009 at 10:29 AM, stash
wrote:
>
> Hello,
>
> after discovering some examples from openlayers (and from the forum) I
> finally made it, that my w
Hello,
after discovering some examples from openlayers (and from the forum) I
finally made it, that my wfs protocol is shown on my map.
Now I want to add the filter to my wfs protocol. And that is the problem.
After adding the filter, all points are shown on my map again (the same
result as when
http://n2.nabble.com/request-and-parse-GML-td3991309.html
On Mon, Nov 23, 2009 at 10:19 AM, Andreas Hocevar 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. Al
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 com
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 fil
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.
Regards,
Andreas.
s
Hello,
I have a wfs layer with some points. Now I want to add a filter to this wfs
layer, that only certain points are displayed.
Here is the code:
var my_filter = new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.EQUAL_TO,
property: "NAME",
value: "Point
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 wrote:
> On Tue, Oct 20, 2009 at 7:39 PM, Pere Roca Ristol
> wrote:
> >
> >
> > hi,
> >
> > can I send this s
On Tue, Oct 20, 2009 at 7:39 PM, Pere Roca Ristol 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
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:
Hi Simon,
find comments inline in your email.
flan...@gmx.de schrieb:
> Hi Users/List,
> i've created (Openlayer2.8) a filter-definition and a wfs-layer like :
>
> //FILTER:
> var wfsfilter = 'http://www.opengis.net/gml";
> xmlns:ogc="http://www.opengis.net/ogc";>'+'type'+one+'type'+two+'';
>
>
Hi Users/List,
i've created (Openlayer2.8) a filter-definition and a wfs-layer like :
//FILTER:
var wfsfilter = 'http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc";>'+'type'+one+'type'+two+'';
//WFS:
wfs = new OpenLayers.Layer.WFS(
"WFS-Tooltip",
Hey-
HKChad wrote:
> I need to append an &filter= param to my WFS queries. I've already been down
> the road of using OpenLayers.Layer.WFS and learning that it appends &BBOX=
> to each query even if you have an &filter, and we all know that violates the
> WFS spec even though some servers support
I need to append an &filter= param to my WFS queries. I've already been down
the road of using OpenLayers.Layer.WFS and learning that it appends &BBOX=
to each query even if you have an &filter, and we all know that violates the
WFS spec even though some servers support it, so I learned of the new
28 matches
Mail list logo