2 Color(1 bit) tiff files (fwd)

teb teb at mallit.fr.umn.edu
Wed Feb 14 11:42:17 PST 2001


------------- Begin Forwarded Message -------------

From: hana.jirsova at oku-pce.cz
Date: Fri, 9 Feb 2001 9:46:12 +0100
To: mapserver-info at lists.gis.umn.edu
Subject: 2 Color(1 bit) tiff files

I tried to display 2 color's files (1 bit) in different 
colors, but unsuccessfully. I have rasters for various 
themes (one raster for rivers, second for seats, third for 
forest,....) and all are drawn only with black and 
white(transparent) color. Maybe I'm doing some mistakes in 
code. Please, be so kind and look at it :

#**********************
This is the raster of forest
LAYER
  NAME 'cl2421'
  DATA cl2421.tif
  TYPE RASTER
  CLASS
    EXPRESSION "1"
    COLOR 0 255 0
  END  # CLASS
  OFFSITE 0
END  # LAYER
# this upper example works only in black and white



#**********************
# I need to do it with the group of rasters ... rivers,
# it works only in black and white , I don't know how to 
# change it
LAYER
  NAME 'cv2421'
  TYPE RASTER
  STATUS off
  TILEINDEX 'kl50'
  TILEITEM RIVERS
  MAXSCALE 200000
  OFFSITE 0
END  # LAYER

Thank you very much. Hana Jirsova
 

------------- End Forwarded Message -------------





More information about the MapServer-users mailing list