[OpenLayers-Users] URL too long for IE mergeNewParams & MapServer
replacement variable
karsten vennemann
karsten at terragis.net
Fri Jul 3 14:28:31 EDT 2009
I have set-up a a dynamic layer with Mapserver and OpenLayers based on a user defined query of data.
In my Mapserver file I have defined a PostGIS layer with a replacement variable. The user fills in values in a query builder html form, the resulting SQL string is sent via POST to a PHP page containing the OpenLayers map. Using mergeNewParams the SQL string is merged into the the request for the layer, MapServer handles the replacement variable and the dynamic layers is displayed correctly. So far this works great in Firefox but for the most complicated queries coming out of the query builder the SQL string is becoming very long and the request by Openlayers to display the layer will exceed 2048 characters (the apparent limit for IE 7) - thus breaking the application...
Here is my question how can I set this up so that it is still working also in IE (preferably without changing the data base column names and without using MapScript).
Is there a way that I can use POST instead of GET to transmit the SQL string to MapServer somehow. Any other ideas how I can get this done ?
Karsten Vennemann
Seattle, USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090703/318228a2/attachment.html
More information about the Users
mailing list