[mapserver-users] mapserv 3.5 error when reprojecting

Trem Stamp trem at socialchange.net.au
Tue Aug 28 19:15:04 PDT 2001


Hi,

I'm currently resampling .tif rasters on the fly into new projections
using mapserv 3.5 and gdal.
However I've been getting a mapserv error in my log files.

[Wed Aug 29 11:48:12 2001].543274 msResampleGDALToMap in effect:
cellsize = 3.96
4371
[Wed Aug 29 11:48:12 2001] [error] [client 10.10.1.116] Premature end of
script
headers: /www/hosted/maps-dev/cgi-bin/mapserv

There are two layer in the map file.  One works (isn't being
reprojected) and one doesn't (gives error above)

I'm using the epsg definitions for layer input and map output.

Has anyone seen this error when running mapserv for a reprojection.

The map file looks like:


NAME demo
STATUS on
EXTENT 140.0 -37.74 147.02 -32.0
SHAPEPATH "/www/hosted/maps-dev/htdocs/mapserv/data/test"
SYMBOLSET "/www/hosted/maps-dev/htdocs/mapserv/symbology/symbol.sym"
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:4326"
END

WEB
   METADATA
    "wms_abstract" "This is a test map file generating capabilities
output for 3
 test cases including a shape file, tiff and tiled tiffs"
    "wms_onlineresource"
"http://maps-dev.socialchange.net.au/cgi-bin/wms?"
    "wms_srs" "EPSG:4326"
    END
END

LAYER
  NAME barellan
  TYPE raster
  STATUS on
  DATA barellan.tif
  METADATA
    "wms_title" "barellan"
    "wms_extent" "459414.71000000002 6204842.79 461936.04999999999
6206741.99000
00002"
  END
  PROJECTION
  "init=epsg:20255"
  END

END  # LAYER


LAYER
  NAME landsat
  TYPE raster
  STATUS on
  DATA rgb7826_geo.tif
  METADATA
    "wms_title" "landsat"
    "wms_extent" "144.41 -37.74 146.95 -35.72"
  END
  PROJECTION
  "init=epsg:4326"
  END

END  # LAYER


END  # MAPFILE


Cheers,
Trem



More information about the MapServer-users mailing list