[OpenLayers-Users] SLD_BODY too many characters

Roald de Wit roald.dewit at lisasoft.com
Thu Nov 5 04:16:34 EST 2009


Hi,

stash wrote:
> Hi,
> thanks for your answer. I imported the new nightly version of openlayers and
> changed my wms in a wms.post. However, i get the same result. 
>
> Apparently, my slb_body is to large (because everything works when i made my
> sld_body a bit shorter.) 
>
> Do I have to change more (for example params or something else) when i use a
> wms.post? Because the only thing I changed when i declare my
> openlayers.layer.wms is that I changed it into wms.post.
>   

Have a look at the following example:
http://www.openlayers.org/dev/examples/WMSPost.html

I hope that helps. If not, you can always consider Bart's alternative 
solution.

Regards,

Roald




More information about the Users mailing list