[Mapserver-users] 24bit Raster Image

J. Delfos delfos18 at yahoo.com
Sun Feb 1 19:02:55 EST 2004


If it says it can't recognize the image format, maybe your TIF uses a
compression that is not supported. There are many sorts of TIF. Perhaps
try to convert your TIF into a different compression, or better:
uncompressed (better from a compatibility point of view). But if space is
an issue, you should consider converting it to ECW format
(www.ermapper.com). That should work without much loss of quality.

regards,

Jacob

--- "Jason M. Nielsen" <jnielsen at aero-graphics.com> wrote:
> > -----Original Message-----
> > From: Richie Pierce [mailto:Richard.Pierce at mail.state.ar.us] 
> > Sent: Thursday, January 29, 2004 12:22 PM
> > To: mapserver-users at lists.gis.umn.edu
> > Subject: [Mapserver-users] 24bit Raster Image
> > 
> > 
> > I am trying to add a 24bit raster image to my map without any success.
> > I get an error like this:
> > 
> > msDrawRaster(): Image handling error. Unrecognized or unsupported
> image
> > format 
> > drawEPP(): Image handling error.
> > c:\inetpub\wwwroot\test_site\data\index\tifs\beedeville_ne.tif is not
> an
> > EPPL file.
> > 
> > I browsed the archives and saw some mention of a bug and having to
> > re-sample it down to an 8bit image.  I was wondering if there has been
> > fixes found for this error.  I would prefer not to create 8bit images
> > for a state wide ortho set (server space being limited).   Any help
> > would be great.  Thanks
> 
> Using a similiar setup here. SLC Valley wide ortho 24bit color image.
> Below is
> my mapserver setup and the basics of my .map file that related to the
> display of
> that rasters.  Everything here works fine accept the display of a legend
> icon.
> 
> [root at vad3rZIM mymstest]# ../../cgi-bin/mapserv -v
> MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR
> INPUT=GDAL
> INPUT=SHAPEFILE
> 
> NAME UTC
> STATUS ON
> SIZE 600 600
> #EXTENT 1400000.0 7000000.0 1900000.0 7500000.0
> EXTENT 1468185.000 7329845.000 1563785.000 7473605.000
> UNITS FEET 
> SHAPEPATH "data"
> IMAGECOLOR 0 0 0  
> IMAGETYPE PNG24
> 
> LAYER
>   NAME slc
>   TYPE RASTER
>   STATUS OFF
>   DATA "slc_tiled.tif"
>   PROCESSING "DITHER=YES"
>   METADATA
>     foobar "Salt Lake City Color Ortho 10' Pixel"
>     proj "NAD83 Utah Central Stateplane (US Foot)"
>     stuff "Just more stuff."
>   END
> END
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



More information about the mapserver-users mailing list