[Mapserver-users] raster transparent color
Dean Gadoury
gadoury at dmsolutions.ca
Mon Jan 6 13:29:51 PST 2003
--------------040306020206060507070608
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
You can use OFFSITE for this. Example:
LAYER
NAME "raster_image"
DATA "../data/image.tif"
TYPE RASTER
STATUS ON
OFFSITE 0
END
Pixels with a value of 0 will not be drawn, or will be drawn transparent
depending on how you look at it.
Aaron D. Hunt wrote:
> Is there a way to make a color on a raster to be transparent? I have
> some georef images of interpolated fields with a white fill out side
> the field boundary. I want to overlay the interpolated fields with
> ortho backgrounds.
>
> Thank you for any help
>
> Aaron D. Hunt
--------------040306020206060507070608
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
You can use OFFSITE for this. Example:<br>
<br>
LAYER<br>
NAME "raster_image"<br>
DATA "../data/image.tif"<br>
TYPE RASTER<br>
STATUS ON<br>
OFFSITE 0<br>
END<br>
<br>
Pixels with a value of 0 will not be drawn, or will be drawn transparent
depending on how you look at it.<br>
<br>
Aaron D. Hunt wrote:<br>
<blockquote type="cite"
cite="mid008901c2b5c9$ded5e950$1805000a at zedxinc.com">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 5.50.4919.2200" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Is there a way to make a color on a raster
to be transparent? I have some georef images of interpolated fields with
a white fill out side the field boundary. I want to overlay the interpolated
fields with ortho backgrounds. </font></div>
<div> </div>
<div><font face="Arial" size="2">Thank you for any help</font></div>
<div> </div>
<div><font face="Arial" size="2">Aaron D. Hunt<br>
</font></div>
</blockquote>
</body>
</html>
--------------040306020206060507070608--
More information about the MapServer-users
mailing list