[mapserver-users] problems with raster, ecw and gdal support

Bo Overgaard boo at carlbro.dk
Fri Mar 1 06:02:58 PST 2002


I am having problems using raster data within mapserver using gdal. The
mapserver i use are the ms351gif_gdal_wmsc_nightly but I tried others with
gdal support as well.

I get a "Content-type: text/html msDrawRaster(): Image handling error.
Unrecognized or unsupported image format" when using ECW data and
"drawJPEG(): Image handling error. JPEG support is not available." using
JPEG. GIF data work fine.  
regards 
Bo Overgaard
Carl Bro
www.carlbro.dk
boo at carlbro.dk


mapserv.exe -v give the result:
MapServer version 3.5.1 (development) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT INPUT=EPPL7 	INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE
 
the map file look like this:

NAME Kort
STATUS ON
SIZE 800 525
FONTSET fonts/fontset.txt
EXTENT 512855 6172280 666851 6297601
UNITS METERS
SHAPEPATH "d:/www/boo/vsa-n-m/shp"
IMAGETYPE GIF

WEB
  TEMPLATE dkplan.html
  MINSCALE 500
  MAXSCALE 240000000
  IMAGEPATH "d:/www/boo/vsa-n-m/tmp/"
  LOG "d:/www/boo/vsa-n-m/mapserv.log"
END

PROJECTION
  "proj=utm"
  "ellps=WGS84"
  "zone=32"
  "north"
  "no_defs"
END

LAYER
  NAME kms_raster
  DATA kms_rasterGray.jpg
  TYPE RASTER
  STATUS ON
  PROJECTION
    "proj=utm"
    "ellps=WGS84"
    "zone=32"
    "north"
    "no_defs"
  END
END

LAYER
  NAME xgif
  DATA "kms_raster.gif"
  TYPE RASTER
  STATUS ON
END

LAYER
  NAME xecw
  TYPE RASTER
  STATUS ON
  DATA "Sample_15cm.ecw"
END

END



More information about the MapServer-users mailing list