You are using a relative path. This should be relative to the mapfile location or relative to the SHAPEPATH location.

Verify the file with gdalinfo

-Steve W

On 3/29/2012 1:39 PM, Pedro Costa wrote:
I add the tiff like that:


LAYER
NAME 'ortol'
STATUS DEFAULT
TYPE RASTER
DATA "../../images/orto.tif"
DUMP TRUE
TEMPLATE "void"
END




Em 29-03-2012 18:25, Pedro Costa escreveu:
Hello,

I have an error with mapfile. If i open only with the mapserver i get
this error:


msDrawMap(): Image handling error. Failed to draw layer named 'orto'.
msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or
missing file '../../images/orto.tif' for layer 'orto'.


But if i open with pmapper works.The problem it is a tiff

Anyone know the error?

Thanks

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to