Hi,

I am sending large GetMap WMS requests (> 15kb) to Geoserver with numerous 
viewparams, which causes HTTP errors as it exceeds the container's 
configuration. I would like to avoid modifying this config as I would have to 
do it in many places, thus I am looking for another way to send these 
viewparams.


*         It appears that although the GetMap endpoint supports POST XML 
requests (as seen 
here<https://www.how2map.com/2013/10/geoserver-getmap-with-http-post.html>), it 
does not support sending viewparams

*         Posting viewparams as form-data in the GET request does not seem to 
work. I can't find the related source code, but I assume that these are not 
handled when parsing the request


This question has been partially answered 
here<http://osgeo-org.1560.x6.nabble.com/Pass-SQL-View-Param-in-GetMap-POST-request-td5277413.html>,
 suggesting that I could do a < GET-like request by submitting a form >. I 
struggle to see how this would work, as an XML would be expected in this case.

Has anyone ever had to deal with overly large viewparams ? If so, how did you 
do it ?

Best regards,

Louis Johanet
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to