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

Tim Schaub tschaub at opengeo.org
Fri Jul 24 18:08:39 EDT 2009


Hey-

Alexandre Dube wrote:
> Hi,
> 
>  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 ?

This is correct.

http://trac.openlayers.org/ticket/2201

Tim

> 


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Dev mailing list