WMS Getfeatureinfo Filter Request Problem

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Thu Nov 18 18:02:49 EST 2004


You might be better off using OGC:WFS for this to do custom filtering to
get *data* back:

http://server_name/script_name?version=1.0.0&service=WFS&request=GetFeat
ure&map=map
_name&typename=ikonos&bbox=-80.7779,24.7364,-80.458,25.0113&X=166&Y=142&
filter=<Filter><PropertyIsEqualTo><PropertyName>some_field_name</Propert
yName><Literal>5</Literal></PropertyIsEqualTo></Filter>&

..Tom



> 
> Can someone tell me what I'm doing wrong in this request 
> (filteritem and filter parameter formats)? I'm trying to 
> filter features in the ikonos layer by the field MCCA_FULL.
> 
> http://server_name/script_name?&request=GetFeatureInfo&map=map
_name&srs=EPSG:4326&radius=1&width=328&height=281&query_layers=ikonos&la
yers=ikonos&bbox=-80.7779,24.7364,-80.458,25.0113&X=166&Y=142&wmtver=1.0
&FEATURE_COUNT=3000&ikonos_filteritem=MCCA_FULL&ikonos_filter='/5/'

I've also tried 
&ikonos_filter=/5/
&ikonos_filter=5
.......

I get a full set of features without filtering.


TIA for any help rendered!

Mark


************************************************************************
***
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the
message and its attachments and notify Space Imaging immediately.
************************************************************************
***



More information about the mapserver-users mailing list