server error with gdal/raster data

uli uli.mueller at GMX.CH
Fri Oct 1 13:57:58 PDT 2004


Hello


I installed MapServer 4.2. With vector data everythings seems ok, however
when I try to display raster data (currently various TIFF files) I get
an "Internal Server Error".



With shp2img I get the following when I switch debugging on:
pj_open_lib(epsg): call fopen(/usr/local/share/proj/epsg) - succeeded
...and many more...
pj_open_lib(epsg): call fopen(/usr/local/share/proj/epsg) - succeeded
GDAL: DALOpen(/geodata/somepath/tk500_co.tif) succeeds as GTiff.
Segmentation fault



gdalinfo reports:
GDAL: GDALOpen(/geodata/somepath/tk500_co.tif) succeeds as GTiff.
GDAL: GDALClose(/geodata/somepath/tk500_co.tif)

GDAL: GDALDeregister_GTiff() called.
Driver: GTiff/GeoTIFF
Size is 12013, 14005
Coordinate System is `'
Origin = (3379789.006523,5530041.081373)
Pixel Size = (19.99679007,-19.99679007)
Metadata:
   TIFFTAG_SOFTWARE=Arc/Info
   TIFFTAG_XRESOLUTION=0.050000001
   TIFFTAG_YRESOLUTION=0.050000001
   TIFFTAG_RESOLUTIONUNIT=1 (unitless)
Corner Coordinates:
Upper Left  ( 3379789.007, 5530041.081)
Lower Left  ( 3379789.007, 5249986.036)
Upper Right ( 3620010.446, 5530041.081)
Lower Right ( 3620010.446, 5249986.036)
Center      ( 3499899.726, 5390013.559)
Band 1 Block=12013x1 Type=Byte, ColorInterp=Palette
   Color Table (RGB with 256 entries)
     0: 255,255,255,255
     1: 0,0,0,255
........
   253: 0,0,0,255
   254: 255,147,147,255
   255: 147,255,255,255
GDAL: GDALClose(/geodata/somepath/tk500_co.tif)

GDAL: GDALDeregister_GTiff() called.




The MapServer and Apache log files are not of much help:
- MapServer.log: Fri Oct  1 11:05:54
2004,3099,80.131.230.167,maptitle,3,3388285.000000 5259535.666667
3610085.000000 5518214.333333,-1.000000 -1.000000,,normal execution
- Apache2.log: [Fri Oct 01 15:24:06 2004] [error] [client
80.131.230.167] Premature end of script headers: mapserv



My system:

LINUX SuSE9.1

Apache2

MapServer version 4.2.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

GDAL 1.2.1, formats:gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm
sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk
bsb gif jpeg png




MapFile extract:
LAYER
  NAME "Topographie"
  TYPE raster
  STATUS default
   PROJECTION
    "init=epsg:31467"
   END
  DATA "/geodata/somepath/tk500_co.tif"
END



Any help appreciated! Thanks! Uli



More information about the MapServer-users mailing list