[Mapserver-users] WMS Raster problem

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Jul 6 12:17:43 PDT 2004


Hi,

I have a large file (some 650MB) of type TIFF with .tfw file.

Here's the applicable chunks from my mapfile:

 # image format options
 OUTPUTFORMAT
  NAME GTiff
  DRIVER "GDAL/GTiff"
  MIMETYPE "image/tiff"
  IMAGEMODE RGB
  EXTENSION "tif"
 END

 LAYER
  NAME "glc2000"
  STATUS ON
  GROUP "Global Land Cover"
  DATA "glc2000_v1_1.tif"
  TYPE RASTER
  METADATA
   "wms_title"    "The Land Cover of the World in the Year 2000"
   "wms_group_title" "Global Land Cover"
   "wms_abstract"    "Global Land Cover"
   "wms_abstract"    "Global Land Cover"
   "wms_keywordlist" "Global Landcover 2000,SPOT Vegetation"
   "wms_extent" "-180 -90 180 90"
   "wms_opaque" "1"
   "wms_name" "glc2000"
   "wms_onlineresource"    "http://somehost/someurl"
   "wms_server_version" "1.1.1"
   "wms_stylelist" "default"
   "wms_style_default_title" "default"
  END
  PROJECTION
   "init=epsg:4326"
  END
 END

When I run as WMS, GetCapabilities is okay, but GetMap gives me back a
500.

The error_log just says:

[Tue Jul 06 15:05:17 2004] [error] [client 192.75.68.254] Premature end
of script headers: mapserv

Any idea what I'm doing wrong here?

Thanks alot

..Tom




More information about the MapServer-users mailing list