[mapserver-users] Bug? MapServer does not find .ige files into SHAPEPATH

Niccolo Rigacci niccolo at rigacci.org
Thu Nov 11 10:36:27 EST 2010


I have a very large GeoTIFF created with gdal_merge.py, the .tif 
file was created along an .ige file, each of them are about 2.5 
Gb:

  892618510 /home/gisdata/ortofoto/2007_med.aux
 2661367213 /home/gisdata/ortofoto/2007_med.ige
         91 /home/gisdata/ortofoto/2007_med.tfw
 2667686154 /home/gisdata/ortofoto/2007_med.tif


I have a problem serving that file as a WMS using MapServer, I 
get a MapServer error:

  Unable to access file. 2007_med.tif using full path 
  2007_med.tif

This is an extract of the mapfile:

MAP
  SHAPEPATH "/home/gisdata/ortofoto"
  ...
  LAYER
    TYPE RASTER
    DATA "2007_med.tif"
    ...

If I use the absolute path into the DATA tag, the problem is 
solved. If the .tif file does not have an .ige companion, I don't 
need to use the absolute path.

Is this a MapServer or a GDAL bug?

-- 
Niccolo Rigacci
Firenze - Italy


More information about the mapserver-users mailing list