RE: [Geoserver-devel] WMS and Filter

I am using the WMS with filter without problem by appending the filter to
the request querystring just like in a WFS GET request, but never tried it
with namespaces.
For example, I just write:

http://<WMSPATH>/GetMap?LAYERS=layer1,layer2&WIDTH=8000&HEIGHT=600&STYLES=st
yle1,style2&FORMAT=image/png&BBOX=x1,y1,x2,y2&FILTERS=((<Filter><PropertyIsE
qualTo><PropertyName>attName1</PropertyName><Literal>123</Literal></Property
IsEqualTo></Filter>)(<Filter></Filter>))

But I'm pretty sure the WMS is parsing the filter in a deprecated way.

Can someone open a Jira task on it and assign it to me? I can't open it
right now, but I will this night if nobody opens it before.

Gabriel

-----Mensaje original-----
De: Jørn Vegard Røsnes [mailto:jorn@anonymised.com]
Enviado el: miércoles, 10 de marzo de 2004 10:06
Para: geoserver-devel@lists.sourceforge.net
Asunto: Re: [Geoserver-devel] WMS and Filter

Any clues?

On Monday 08 March 2004 15:56, Jørn Vegard Røsnes wrote:

Hi (Chris),

Chris mentioned in a e-mail earlier that the WMS part of Geoserver
supported OGC Filter

I've tried to use Filter with WMS, but the images I get looks the same as
without the filter.

Tested filter:
<ogc:Filter xmlns:ogc='http://www.opengis.net/ogc’><ogc:FeatureId
fid='world.257'/></ogc:Filter>

If I send it to the WFS, I get only the requested Feature, so it works as
expected.

With WMS I expect to get an image with only the requested Feature(s), but

I

got everything in the database
Is my expectations wrong, or something in Geoserver?

Regards,
Jørn

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Thanks Gabriel,

did some quick testing:
-it works both with and without namespace and FILTERS=....

-it does not work with FILTER=.....
But according to table 9 on page 65-66 and example 13.7.3.2 on page 66-67 in
WFS spec. rev. 1.0.0, this is correct syntax.

Or...?

Regards
Jørn

On Wednesday 10 March 2004 13:45, ROLDAN, Gabriel raul wrote:

I am using the WMS with filter without problem by appending the filter to
the request querystring just like in a WFS GET request, but never tried it
with namespaces.
For example, I just write:

http://<WMSPATH>/GetMap?LAYERS=layer1,layer2&WIDTH=8000&HEIGHT=600&STYLES=s
t
yle1,style2&FORMAT=image/png&BBOX=x1,y1,x2,y2&FILTERS=((<Filter><PropertyIs
E
qualTo><PropertyName>attName1</PropertyName><Literal>123</Literal></Propert
y IsEqualTo></Filter>)(<Filter></Filter>))

But I'm pretty sure the WMS is parsing the filter in a deprecated way.

Can someone open a Jira task on it and assign it to me? I can't open it
right now, but I will this night if nobody opens it before.

Gabriel

-----Mensaje original-----
De: Jørn Vegard Røsnes [mailto:jorn@anonymised.com]
Enviado el: miércoles, 10 de marzo de 2004 10:06
Para: geoserver-devel@lists.sourceforge.net
Asunto: Re: [Geoserver-devel] WMS and Filter

Any clues?

On Monday 08 March 2004 15:56, Jørn Vegard Røsnes wrote:
> Hi (Chris),
>
> Chris mentioned in a e-mail earlier that the WMS part of Geoserver
> supported OGC Filter
>
> I've tried to use Filter with WMS, but the images I get looks the same as
> without the filter.
>
> Tested filter:
> <ogc:Filter xmlns:ogc='http://www.opengis.net/ogc’><ogc:FeatureId
> fid='world.257'/></ogc:Filter>
>
> If I send it to the WFS, I get only the requested Feature, so it works as
> expected.
>
> With WMS I expect to get an image with only the requested Feature(s), but

I

> got everything in the database
> Is my expectations wrong, or something in Geoserver?
>
> Regards,
> Jørn
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op,ick
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

ok, I'll change to FILTER= instead of FILTERS=

regards,

gabriel
----- Original Message -----
From: "Jørn Vegard Røsnes" <jorn@anonymised.com>
To: "ROLDAN, Gabriel raul" <gabriel.raul.roldan@anonymised.com>;
<geoserver-devel@lists.sourceforge.net>
Sent: Wednesday, March 10, 2004 2:12 PM
Subject: Re: [Geoserver-devel] WMS and Filter

Thanks Gabriel,

did some quick testing:
-it works both with and without namespace and FILTERS=....

-it does not work with FILTER=.....
But according to table 9 on page 65-66 and example 13.7.3.2 on page 66-67

in

WFS spec. rev. 1.0.0, this is correct syntax.

Or...?

Regards
Jørn

On Wednesday 10 March 2004 13:45, ROLDAN, Gabriel raul wrote:
> I am using the WMS with filter without problem by appending the filter

to

> the request querystring just like in a WFS GET request, but never tried

it

> with namespaces.
> For example, I just write:
>
>

http://<WMSPATH>/GetMap?LAYERS=layer1,layer2&WIDTH=8000&HEIGHT=600&STYLES=s

>t
>

yle1,style2&FORMAT=image/png&BBOX=x1,y1,x2,y2&FILTERS=((<Filter><PropertyIs

>E
>

qualTo><PropertyName>attName1</PropertyName><Literal>123</Literal></Propert

>y IsEqualTo></Filter>)(<Filter></Filter>))
>
> But I'm pretty sure the WMS is parsing the filter in a deprecated way.
>
> Can someone open a Jira task on it and assign it to me? I can't open it
> right now, but I will this night if nobody opens it before.
>
> Gabriel
>
>
> -----Mensaje original-----
> De: Jørn Vegard Røsnes [mailto:jorn@anonymised.com]
> Enviado el: miércoles, 10 de marzo de 2004 10:06
> Para: geoserver-devel@lists.sourceforge.net
> Asunto: Re: [Geoserver-devel] WMS and Filter
>
>
> Any clues?
>
> On Monday 08 March 2004 15:56, Jørn Vegard Røsnes wrote:
> > Hi (Chris),
> >
> > Chris mentioned in a e-mail earlier that the WMS part of Geoserver
> > supported OGC Filter
> >
> > I've tried to use Filter with WMS, but the images I get looks the same

as

> > without the filter.
> >
> > Tested filter:
> > <ogc:Filter xmlns:ogc='http://www.opengis.net/ogc’><ogc:FeatureId
> > fid='world.257'/></ogc:Filter>
> >
> > If I send it to the WFS, I get only the requested Feature, so it works

as

> > expected.
> >
> > With WMS I expect to get an image with only the requested Feature(s),

but

>
> I
>
> > got everything in the database
> > Is my expectations wrong, or something in Geoserver?
> >
> > Regards,
> > Jørn
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Geoserver-devel mailing list
> > Geoserver-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op,ick
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel