[OpenLayers-Trac] [OpenLayers] #3357:
OpenLayers.Control.WMSGetFeatureInfo should
support the POST request method
OpenLayers
trac-20090302 at openlayers.org
Fri Jun 10 03:18:15 EDT 2011
#3357: OpenLayers.Control.WMSGetFeatureInfo should support the POST request method
---------------------------------------+------------------------------------
Reporter: neumann | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.12 Release
Component: Control.WMSGetFeatureInfo | Version: 2.11 RC1
Keywords: | State:
---------------------------------------+------------------------------------
For a long list of layers with long layer names it is possible that one
hits a URL length limitation in IE6 to IE8 with the GET request. The
problem is that the WMSGetFeatureInfo Request often fully repeats the
layer list, once in the LAYERS parameter and once in the QUERY_LAYERS
parameter. See http://support.microsoft.com/kb/208427 for the URL length
limitation.
To work around the problem I suggest to introduce a new requestMethod
parameter in OpenLayers.Control.WMSGetFeatureInfo which allows to use a
POST instead of a GET request. Of course the WMS server would have to
support POST as well. I checked with mine (QGIS server) and it will
support POST requests soon.
--
Ticket URL: <http://trac.openlayers.org/ticket/3357>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list