[mapserver-users] Mapserver and raster layers

Christopher Dedels cdedels at gmail.com
Sat Apr 16 16:33:29 EDT 2011


Thanks for the suggestion.   I have tried it and it appears to have no
effect.

Chris


On Sat, Apr 16, 2011 at 4:26 PM, Stephen Woodbridge <woodbri at swoodbridge.com
> wrote:

> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110416/c2b762e4/attachment.html


More information about the mapserver-users mailing list