[Mapserver-users] bizarre raster output

Pericles Nacionales nacional at cbs.umn.edu
Thu Jan 29 19:15:35 EST 2004


Charlton,

Check http://hypnos.cbs.umn.edu/projects/gdal_segfault.html.  Is this what
it's supposed to look like?  I'm running MapServer 4.0.1 but compiled gdal
from cvs just a couple days ago.  PNG support was compiled using external
libpng version 1.2.5.

You might want to upgrade your libpng.

-Perry N.


On Thu, 29 Jan 2004, Charlton Purvis wrote:

> Hi, folks:
>
> I've got a raster .png, 8800 x 6600, complete w/ a working .wld.  The
> original raster has some color on the left side, and the rest of the
> image is transparent.
>
> I expected to see the Pacific covered by this raster and the rest of the
> Eastern part left alone.  But the attached image is what I get.
> Bizarre.  Is there a max pixel image size?  The entire PNG is a mere
> 2MB.
>
> Anyone seen anything like this?  It's purty, but it ain't gunna cut it.
>
> MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
> INPUT=JPEG INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
>
> gdal-1.1.8 (plain ./configure)
>
>   EXTENT -125 -5 -45 55
>   SIZE 880 660
>   IMAGETYPE PNG  # I've also tried RGBA w/ TRANSPARENCY ON
>
> The PROJECTIONs are the same.  Also tried stripping out everything
> (including projections) but the raster layer.  Same results.
>
> Aha!  I just ran a gdalinfo, and I get a seg fault.  Anyone mind
> checking it out?  Original raster (non-transparent) is here:
> http://nautilus.baruch.sc.edu/~cpurvis/.
>
> I don't think the file is corrupt since it displays OK in Photoshop, and
> ImageMagick is OK w/ it, too.
>
> Thanks,
>
> Charlton
>
>
>
>
> Charlton Purvis
> (803) 777-8858 : voice
> (803) 777-3935 : fax
> cpurvis at sc.edu
>
> Baruch Institute
> University of South Carolina
> Columbia, SC 29208
>
>



More information about the mapserver-users mailing list