RES: [Mapserver-users] problem displaying raster layers; GDAL?

Murilo Lacerda Yoshida murilo.yoshida at agx.com.br
Wed Nov 5 10:02:44 EST 2003


  Hi Emilio,
  I have the same problem that you had, I guess, but I've tried to
compile mapserver --without-tiff and it still don't work, I still have
the "Premature end of script headers: php " error...
  Can you tell me what you did to solve your problem?
  Thanks,
    Murilo


-----Mensagem original-----
De: Emilio Mayorga [mailto:emiliom at u.washington.edu] 
Enviada em: quinta-feira, 30 de outubro de 2003 22:27
Para: mapserver-users at lists.gis.umn.edu
Assunto: Re: [Mapserver-users] problem displaying raster layers; GDAL?


That was it!! Thank you, Randy! Such a simple fix, after so much 
frustration. But this is great, now all the Mapserver features I wanted 
to enable are working.

Cheers,

-Emilio


Randy James wrote:
> Hi
> 
> I seem to remember that problem, i believe that i compiled
> mapserver --without-tiff and used gdals tiff lib and than
> it worked.
> 
> Hope this helps
> 
> Randy
> 
> --- Emilio Mayorga <emiliom at u.washington.edu> wrote:
> 
>>I installed Mapserver 4 a few weeks ago. Every feature I
>>enabled is 
>>working great. I've loaded the Tutorial and the
>>Workshop/Itasca demo, 
>>and everything is working, EXCEPT raster layers. I've
>>tried a number of 
>>tests and different images, but I can't make it work.
>>I've tried output 
>>imagetype png24, png, and jpeg. RGB tiffs and simple
>>1-band tiffs as the 
>>raster layer. Nothing.
>>
>>When I include and display a raster layer in my map file,
>>I get this 
>>server error message:   "Premature end of script headers:
>>mapserv40"
>>
>>What's more strange is that when the file path to the
>>tiff image is 
>>incorrect, Mapserver just ignores rendering that layer,
>>and does 
>>everything else without an error message! That includes
>>rendering a 
>>KEYIMAGE associated with that raster layer.
>>
>>This is my MS configuration:
>>MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
>>SUPPORTS=PROJ 
>>SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
>>INPUT=TIFF 
>>INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL
>>INPUT=SHAPEFILE
>>And how I configured GDAL:
>>./configure  --with-libz --with-png
>>--with-libtiff=internal 
>>--with-geotiff=internal --with-jpeg --without-jasper
>>
>>I am running MS on RedHat 8, with Apache 2.
>>
>>Thanks for your help!
>>
>>-Emilio Mayorga

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list