[mapserver-users] Mapserver and raster layers
Stephen Woodbridge
woodbri at swoodbridge.com
Sat Apr 16 13:26:09 PDT 2011
Try changing the layer status to default, ie:
STATUS DEFAULT
-Steve W
On 4/16/2011 2:22 PM, Christopher Dedels wrote:
> 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
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list