[OpenLayers-Dev] WMSGetFeatureInfo ctrl "format" parameter missing

Alexandre Dube adube at mapgears.com
Fri Jul 24 15:36:20 EDT 2009


 One of my coworker had some trouble using the WMSGetFeatureInfo 
control.  The response always said "Missing FORMAT property".  Here's 
what he found on this :

Section 7.3.1 of the WMS 1.1.1 specification says:

"Because the WMS protocol is stateless, the GetFeatureInfo request 
indicates to the WMS what map the user is viewing by including most of 
the original GetMap request parameters (all but VERSION and REQUEST)."

So, even if the FORMAT parameter is meaningless in the context of a 
GetFeatureInfo request, according to the spec it is a required parameter 
(as per section 7.2.2) and should be included by OpenLayers in its 
GetFeatureInfo requests.

What do you think ?

Alexandre Dubé

More information about the Dev mailing list