Landsat is a no show

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri May 6 14:19:55 EDT 2005


On 5/6/05, Kevin Grootendorst <kgrootendorst at baird.com> wrote:
> Hi,
> Trying to add an 8 bit landsat image to my mapfile, but it's showing up as
> all black.
> In ArcMap, it's black until I set the symbology to stretched - Histogram
> Equalize.
> 
> I can't find any documentation for setting a similar parameter in my map
> file.
> 
> Can anybody help me out?

Kevin,

Generally speaking I would suggest pre-stretching 8bit imagery 
externally with an imaging tool.  But if you want, you can force it
within MapServer using the SCALE processing option.   For instance
adding the following line to your raster layer. 

  PROCESSING "SCALE=AUTO"

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list