Hello Andrea:
I am trying to use your solution for filtering data on the database
end (Postgis):
http://jira.codehaus.org/browse/GEOS-529
I am using geoserver trunk. Following your example from the bottom
doesn't seem to work for me. Do you know if the "filter=" parameter
should be functional in geoserver trunk?
This is my getMap request (same as your example):
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&filter=(<Filter><PropertyIsEqualTo><PropertyName>STATE_NAME</PropertyName><Literal>Illinois</Literal></PropertyIsEqualTo></Filter>)
Thanks in advance,
Alex
I 've got Alessio to help me with this.
Apparently the filter code was in, but not used. He commited a fix on
trunk and the sample request on the jira page works!!!
Alex
On 12/4/06, Alexander Petkov <greenkov@anonymised.com> wrote:
Hello Andrea:
I am trying to use your solution for filtering data on the database
end (Postgis):
http://jira.codehaus.org/browse/GEOS-529
I am using geoserver trunk. Following your example from the bottom
doesn't seem to work for me. Do you know if the "filter=" parameter
should be functional in geoserver trunk?
This is my getMap request (same as your example):
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&filter=(<Filter><PropertyIsEqualTo><PropertyName>STATE_NAME</PropertyName><Literal>Illinois</Literal></PropertyIsEqualTo></Filter>)
Thanks in advance,
Alex
Alexander Petkov ha scritto:
I 've got Alessio to help me with this.
Apparently the filter code was in, but not used. He commited a fix on
trunk and the sample request on the jira page works!!!
Yeah, I've noticed. I've been quite busy, sorry.
Thank you very much for the help Alessio 
Cheers
Andrea
Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4 that didn't make it into trunk?
Alexander Petkov wrote:
I 've got Alessio to help me with this.
Apparently the filter code was in, but not used. He commited a fix on
trunk and the sample request on the jira page works!!!
Alex
On 12/4/06, Alexander Petkov <greenkov@anonymised.com> wrote:
Hello Andrea:
I am trying to use your solution for filtering data on the database
end (Postgis):
http://jira.codehaus.org/browse/GEOS-529
I am using geoserver trunk. Following your example from the bottom
doesn't seem to work for me. Do you know if the "filter=" parameter
should be functional in geoserver trunk?
This is my getMap request (same as your example):
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&filter=(<Filter><PropertyIsEqualTo><PropertyName>STATE_NAME</PropertyName><Literal>Illinois</Literal></PropertyIsEqualTo></Filter>)
Thanks in advance,
Alex
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1003,4575a81a276531194215290!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
Chris:
I believe Alessio commited the changes to trunk only.
Alex
On 12/6/06, Chris Holmes <cholmes@anonymised.com> wrote:
Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4 that
didn't make it into trunk?
Alexander Petkov wrote:
> I 've got Alessio to help me with this.
> Apparently the filter code was in, but not used. He commited a fix on
> trunk and the sample request on the jira page works!!!
>
> Alex
>
> On 12/4/06, Alexander Petkov <greenkov@anonymised.com> wrote:
>> Hello Andrea:
>>
>> I am trying to use your solution for filtering data on the database
>> end (Postgis):
>> http://jira.codehaus.org/browse/GEOS-529
>>
>> I am using geoserver trunk. Following your example from the bottom
>> doesn't seem to work for me. Do you know if the "filter=" parameter
>> should be functional in geoserver trunk?
>>
>> This is my getMap request (same as your example):
>> http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&filter=(<Filter><PropertyIsEqualTo><PropertyName>STATE_NAME</PropertyName><Literal>Illinois</Literal></PropertyIsEqualTo></Filter>)
>>
>> Thanks in advance,
>> Alex
>>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> !DSPAM:1003,4575a81a276531194215290!
>
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
Alexander Petkov ha scritto:
Chris:
I believe Alessio commited the changes to trunk only.
Alex
On 12/6/06, Chris Holmes <cholmes@anonymised.com> wrote:
Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4 that
didn't make it into trunk?
I checked the states request on 1.4.x and was working, so probably
I forgot to add some changes to trunk.
Cheers
Andrea
On 12/6/06, Andrea Aime <aaime@anonymised.com> wrote:
Alexander Petkov ha scritto:
> Chris:
> I believe Alessio commited the changes to trunk only.
>
> Alex
>
> On 12/6/06, Chris Holmes <cholmes@anonymised.com> wrote:
>> Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4 that
>> didn't make it into trunk?
I checked the states request on 1.4.x and was working, so probably
I forgot to add some changes to trunk.
Cheers
Andrea
Does it work also against featureTypes from a Postgis datastore? So
far no luck here 
Alex
Alexander Petkov ha scritto:
On 12/6/06, Andrea Aime <aaime@anonymised.com> wrote:
Alexander Petkov ha scritto:
> Chris:
> I believe Alessio commited the changes to trunk only.
>
> Alex
>
> On 12/6/06, Chris Holmes <cholmes@anonymised.com> wrote:
>> Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4 that
>> didn't make it into trunk?
I checked the states request on 1.4.x and was working, so probably
I forgot to add some changes to trunk.
Cheers
Andrea
Does it work also against featureTypes from a Postgis datastore? So
far no luck here 
I just tried with shapefile in fact, curious it may be dependent on
the specific datastore... can you check with a shapefile? If not,
open a jira issue.
Cheers
Andrea
Shapefile works indeed.
Was it not intended to work with Postgis featureTypes?
Thanks,
Alex
On 12/6/06, Andrea Aime <aaime@anonymised.com> wrote:
Alexander Petkov ha scritto:
> On 12/6/06, Andrea Aime <aaime@anonymised.com> wrote:
>> Alexander Petkov ha scritto:
>> > Chris:
>> > I believe Alessio commited the changes to trunk only.
>> >
>> > Alex
>> >
>> > On 12/6/06, Chris Holmes <cholmes@anonymised.com> wrote:
>> >> Did this fix make it on to 1.4.x branch? Or was it a fix from 1.4
>> that
>> >> didn't make it into trunk?
>>
>> I checked the states request on 1.4.x and was working, so probably
>> I forgot to add some changes to trunk.
>> Cheers
>> Andrea
>>
> Does it work also against featureTypes from a Postgis datastore? So
> far no luck here 
I just tried with shapefile in fact, curious it may be dependent on
the specific datastore... can you check with a shapefile? If not,
open a jira issue.
Cheers
Andrea
Alexander Petkov ha scritto:
Shapefile works indeed.
Was it not intended to work with Postgis featureTypes?
Nope, the patch that adds filter does not have anything
to do with datastores, so I expect it to work with any kind
of datastore. Are you sure your filters do not have case issues
with attribute names? Like attributes being lowercase in the
feature type and you filter with upper case?
Cheers
Andrea