[mapserver-users] grayscale shaded relief in mapserver

Guillaume Sueur guillaume.sueur at neogeo-online.net
Mon Apr 21 09:16:49 PDT 2008


the TIF goes with a .TAB and its georeferencing informations. It looks 
ok with Qgis.
The mapfile is straight-forward :
  LAYER
      DATA "uploaded/AUbwV8_32.TIF"
      NAME "shaded"
      PROCESSING "COLOR_MATCH_THRESHOLD=3"
      PROJECTION
        "init=epsg:27563"
      END
      STATUS ON

      TYPE RASTER
      UNITS METERS
END

Thanks for your interest,

Guillaume

Fawcett, David a écrit :
> Have you stripped out all of the projection, etc.  and just tried to
> output the image?
> 
> What does your map file look like?
> 
> David.
> 
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Guillaume
> Sueur
> Sent: Monday, April 21, 2008 3:48 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] grayscale shaded relief in mapserver
> 
> 
> Hi list,
> 
> I've got a grayscale TIF showing shaded relief which I can't manage to 
> display properly with mapserver. The image is just white. gdalinfo gives
> : Band 1 Block=4367x1 Type=Byte, ColorInterp=Gray I assume the georef is
> ok. I tried few things like resampling it to 32 colors, or "PROCESSING 
> "COLOR_MATCH_THRESHOLD=3" as I've found in mails archives, but without 
> any luck.
> 
> Any clue ?
> 
> Thanks
> 





More information about the MapServer-users mailing list