WMS Getfeatureinfo Filter Request Problem

Howard Mark MHoward at SPACEIMAGING.COM
Thu Nov 18 18:28:57 EST 2004


I have an existing application that depends on the data format from the GETFEATUREINFO request. I know this works - I've done it before. I just forget how :(

Mark


-----Original Message-----
From: Kralidis,Tom [Burlington] [mailto:Tom.Kralidis at ec.gc.ca]
Sent: Thursday, November 18, 2004 4:03 PM
To: Howard Mark; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: RE: [UMN_MAPSERVER-USERS] WMS Getfeatureinfo Filter Request Problem


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.
************************************************************************
***


********************************************************************************
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