Raster colors
Frank Warmerdam
warmerdam at POBOX.COM
Thu Oct 20 12:43:40 PDT 2005
On 10/20/05, Chip Taylor <work at xwb.com> wrote:
>
>
> I downloaded some landsat raster images from the USGS site for use in a
> mapserver application. In ArcMap the colors are fine. Here is the layer I
> have in MapServer:
>
> LAYER
>
> NAME "landcover"
>
> DATA "cover/81802474/81802474.tif"
>
> STATUS on
>
> TYPE RASTER
>
> PROCESSING "BANDS=3"
>
> PROCESSING "DITHER=YES"
>
> END
Chip,
Try 'PROCESSING "BANDS=1,2,3"' instead. The argument to the BANDS
processing directive is the list of bands you want to display. BTW you should
be able to skip the directive altogether to get the default 1,2,3.
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