[OpenLayers-Users] mapserver layer with bad rendering

Didrik Pinte lists at dipole-consulting.com
Mon Oct 27 10:43:30 EDT 2008


Hi,

I've setted up an OpenLayers client connected on a WMS MapServer. It
works fine except with a raster layer.

When calling mapserver directly, the raster layer is rendered fine :
http://public.dpinte.fastmail.fm/downloads/mapserver.png 

When rendered using OpenLayers, they are some dirty pixels on the
picture. See http://public.dpinte.fastmail.fm/downloads/openlayers.png 

Is there a way to correct this ? The layer definition is the
following : 

        var ortho = new OpenLayers.Layer.MapServer( "Orthophotoplans", 
            "http://myserver/cgi-bin/mapserv",
                { 
                    map: '/var/data/wms.map', 
                    transparent: 'false', 
                    layers: 'ortho', 
                    format: 'png',
                }, 
                {
                    'singleTile': false,
                    'isBaseLayer': false,
                    'displayInLayerSwitcher':true
                }
        );

Best regards,

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/d60db5a7/attachment.bin


More information about the Users mailing list