[mapserver-users] GetFeatureInfo

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Dec 16 15:56:51 EST 2010


On 10-12-16 4:41 PM, David Hildebrand wrote:
> I have several WMS layers. One is a polygon layer and the other two are
> line and point layer. I have HTML templates for each layer which are
> very similar. All the layers are being drawn but when I run a
> REQUEST=GetFeatureInfo on a location which has features from all three
> layers I only get a return from the polygon layer. I have the following
> debug statements in my mapfile.
>

Hi,

Just a quick note, that the WMS Server doc gives a working example of a 
GetFeatureInfo request on a point layer: 
http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=-11.332970,24.121208,47.584718,57.965035&SRS=EPSG:4326&WIDTH=1001&HEIGHT=575&LAYERS=cities&STYLES=&FORMAT=image/png&TRANSPARENT=true&QUERY_LAYERS=cities&INFO_FORMAT=text/plain&X=229&Y=280

I would make sure your layers have a template set, as well as modify the 
tolerance parameter possibly.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-users mailing list