2 Color (1 bit) tiff files
Stephen Lime
steve.lime at dnr.state.mn.us
Tue Jun 13 07:25:43 PDT 2000
In 3.3 I implemented raster classes which allows you to recolor images on-the-fly.
Here's an example assuming that 0 is offsite and 1 is data in your tiff images:
LAYER
NAME rivers
DATA rivers.tif
TYPE RASTER
CLASS
EXPRESSION "1"
COLOR 0 0 255
END
OFFSITE 0
END
LAYER
NAME roads
DATA roads.tif
TYPE RASTER
CLASS
EXPRESSION "1"
COLOR 255 0 0
END
OFFSITE 0
END
I haven't tested this with bit images so let me know if you run into any problems.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Jaroslav Serdula" <serdula_jaroslav at vse.sk> 06/13/00 07:32AM >>>
I have several huge (20 000 x 20 000 pixels) 2 color tiff files that
represent different layers (rivers, roads).
How can I make MapServer to draw these files in different colors?
More information about the MapServer-users
mailing list