[mapserver-users] wms getFeatureInfo

John Hagstrand johnhagstrand at interageresearch.com
Tue Nov 12 03:48:00 EST 2002


Peter,

Thank you very much for the reply.  I am doing the query on a polygon 
layer, and my request looks like yours.  Did you also have to do something 
in your mapfile?  If not, then how do you tell mapserver what info to 
return to a getFeatureInfo request?

Thanks,
John

At 07:43 AM 11/8/2002, Peter.Bruton at CCRS.NRCan.gc.ca wrote:
>Hello;
>
>I received the same sort of message the first time I executed a
>GetFeatureInfo request on a point layer.  In my case the problem was that
>there were no features located in the location at the specified "x"/"y"
>location.
>
>There does not appear to be a way to set a search radius for the
>GetFeatureInfo request, so your "x"/"y" location must be exact where
>executing the request on a point layer.  If you are executing a
>GetFeatureInfo request on a polygon layer this sort of problem should not
>occur.
>
>I have provided an example GetFeatureInfo request below.  We still have to a
>bit of work on our site so I have omitted the PREFIX.
>
>.........VERSION=1.1.0&REQUEST=GetFeatureInfo&SRS=EPSG%3A4269&BBOX=-178.838,
>31.8844,179.94,89.8254&WIDTH=560&HEIGHT=350&QUERY_LAYERS=places_symb_7.5m&X=
>113&Y=189
>
>I hope this helps.
>
>Peter Bruton
>
>-----Original Message-----
>From: John Hagstrand [mailto:johnhagstrand at interageresearch.com]
>Sent: Friday, November 08, 2002 7:08 AM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [mapserver-users] wms getFeatureInfo
>
>
>Hello,
>
>When I execute the WMS getFeatureInfo command, I get this error message.
>
>GetFeatureInfo results:
>
>    Search returned no results.
>
>What am I doing wrong?
>
>Thanks
>John
>
>
>-------------------------------------------------
>John Hagstrand
>Interage Research, Inc.
>847 838 5371
>Software Development Consulting for Internet Content Management
>We make knowledge accessible, useful, and relevant for everyone.
>http://www.interageresearch.com


-------------------------------------------------
John Hagstrand
Interage Research, Inc.
847 838 5371
Software Development Consulting for Internet Content Management
We make knowledge accessible, useful, and relevant for everyone.
http://www.interageresearch.com





More information about the mapserver-users mailing list