[Mapserver-users] 24bit Raster Image

Jason M. Nielsen jnielsen at aero-graphics.com
Fri Jan 30 10:13:23 EST 2004


> -----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/



More information about the mapserver-users mailing list