[Mapserver-users] Problem with raster images

Martin Sarsale lists at runa.sytes.net
Fri Dec 6 13:18:24 EST 2002


Im trying to configure mapserver to show a background image but it's not working and Im not sure why:
my ex1.map has:
LAYER # Shaded Relief Raster
  NAME "coso"
  DATA "jul.tif"
  STATUS ON
  TYPE RASTER
END

but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works.

Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is.

Some extra info:

------------

../mapserv -v
MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE

------------

NAME P1EX1
EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811
SIZE 400 300
SHAPEPATH "/opt/runa/mapserver/shapes/"

LAYER # start of the "states" layer object
  NAME "states"
  DATA "cari-amb"
  STATUS DEFAULT
  TYPE POLYGON
  CLASS
#   COLOR 220 220 220
    OUTLINECOLOR 0 0 0
  END # end of class object
END # end of layer object
LAYER # start of the "states" layer object
  NAME "states"
  DATA "cari-lot"
  STATUS DEFAULT
  TYPE POLYGON
  CLASS
#   COLOR 220 220 220
    OUTLINECOLOR 200 0 0
  END # end of class object
END # end of layer object
LAYER # Shaded Relief Raster
  NAME "coso"
  DATA "jul.tif"
  STATUS ON
  TYPE RASTER
END

END # end of map file
----------

pd: Where can I find a log with mapserv errors?


thanks!



More information about the mapserver-users mailing list