The WMS spec does say it is required:

7.3.3.4 map_request_copy
<map request copy> is not a name/value pair like the other parameters. Instead, 
most of the GetMap request parameters that generated the original map are 
repeated. Two are omitted because GetFeatureInfo provides its own values: 
VERSION and REQUEST. The remainder of the GetMap request shall be embedded 
contiguously in the GetFeatureInfo request.

Best regards,
Bart

-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out 
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
[email protected]

On May 5, 2011, at 11:57 AM, Ivan Mincik wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> I would like to ask, why is the LAYERS parameter required in
> GetFeatureInfo request.
> Looking to WMS specification, it is not mentioned in this type of
> request. Neither in Mapserver doc I can't find any relevant info.
> 
> Tested on Mapserver 5.6.6. Without LAYERS parameter I get:
> msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the
> LAYERS parameter.
> 
> Thanks
> 
> - -- 
> Ivan Mincik, Gista s.r.o.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk3CdIsACgkQVqso/9cUsCydZgCgzE3uoIfl3AknEvoVEEuxgHFU
> 1twAniaRmixQ200mbLDlcJe3367RWIgo
> =Xy55
> -----END PGP SIGNATURE-----
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to