Hi, Perhaps your image is missing georeferencing data? Check it with gdalinfo. If this is the case, then construct ESRI type world file (.wld) for your image. If your image is in another projection than your vectors you must add the correct projection to your raster layer definition as well.
Regards, -Jukka Rahkonen- -----Original Message----- From: UMN MapServer Users List on behalf of Alessandro MAZZELLA Sent: Thu 28.9.2006 18:38 To: [email protected] Subject: [UMN_MAPSERVER-USERS] Fw: raster layer Hi list, i've got a very very very little problem ... i'm developing a very simple mapserver application for displaying a shape layer on a raster background image (jpeg). mapserver returns no error, but the raster image is not showed on the result !!! some ideas ?? **** this is the mapfile: MAP NAME a003 IMAGETYPE GIF EXTENT 1414770 4298268 1590137 4578665 SIZE 800 800 SHAPEPATH "/home/mapserver/data/shp/" IMAGECOLOR 255 255 255 SYMBOLSET "/home/mapserver/data/symbols/symbols35.sym" FONTSET "/home/mapserver/data/fonts/fonts.list" WEB IMAGEPATH "/home/mapserver/htdocs/tmp/" IMAGEURL "tmp/" END ###SHP Layer LAYER NAME "shape" TYPE POLYGON STATUS ON DATA "shape" CLASS STYLE COLOR 1 1 1 OUTLINECOLOR 32 123 176 END END END ###RASTER LAYER NAME "raster" TYPE RASTER STATUS ON DATA "/home/mapserver/data/shp/raster.jpeg" CLASS NAME "raster" END END END Tnks all Ciao, Alessandro MAZZELLA ---->> Cagliari ( Lat. -N- 39°13'23"24, Lon. -E- 09°6'25"46 )
