[OpenLayers-Users] [SOLVED] Re: mapserver layer with bad rendering

Didrik Pinte lists at dipole-consulting.com
Mon Oct 27 13:28:26 EDT 2008


Hi Arnd, and list,

The tip you suggest did not make it but ... it was very close.

I used a layer defintion with :

                { 
                    map: '/var/data/wms.map', 
                    transparent: 'false', 
                    layers: 'ortho', 
                    format: 'png24',
                }, 

Looking at the real query send to the MapServer, I saw that there was a
map_imagetype that was still in png !

Changing the layer definition using the following definition solved the
problem :

                { 
                    map: '/var/data/wms.map', 
                    transparent: 'false', 
                    layers: 'ortho', 
                    format: 'png24',
                    'map_imagetype': 'png24';
                }, 

Thanks,

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081027/28190dc0/attachment.bin


More information about the Users mailing list