[mapserver-users] Mapserver and raster layers

Christopher Dedels cdedels at gmail.com
Sat Apr 16 11:22:13 PDT 2011


I am having some problems adding a raster layer to my map.  The image
produced by mapserver is blank.  My mapfile is as follows:

MAP
        SIZE 800 600
        UNITS meters

        EXTENT -123.8600311 38.0116386 -97.1885986 53.7055626

        PROJECTION
                "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
        END

        LAYER
                NAME "grid"
                TYPE RASTER
                DATA "/tmp/image.tiff"
                STATUS ON
                PROJECTION
                        "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
                END
        END
END

I have also noticed that changing the DATA path to a file which does not
exist in the filesystem (or is not a GDAL-supported file format) has no
effect on the rendered output and does not produce an error message.

Can somebody help me where I am going wrong?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110416/4100903d/attachment.htm>


More information about the MapServer-users mailing list