<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">If you just want to make the black
disappear you could use<br>
<br>
MAP<br>
IMAGECOLOR 255 255 255 # set map's background color to white<br>
<br>
LAYER<br>
TYPE RASTER<br>
OFFSITE 0 0 0 # make this color (black) of the input raster
file transparent<br>
<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 12/10/2012 9:51 AM, ALT SHN wrote:<br>
</div>
<blockquote
cite="mid:CAGFOAzziC74v1=4=sQq01324bROeo3bB3FgRso41vW5+pu7u=A@mail.gmail.com"
type="cite">Hello Everyone,<br>
<br>
First time Mapserver user here, and I would appreciate some advice
regarding this problem:<br>
<br>
I have a Tile Index of single band TIFF rasters (0-255). The
rasters are displayer fast, and accuratly. However these rasters
cover a sea shore area, this means that half the rasters are sea
territory, wich is represented in black (0 cell values)<br>
<br>
Is there way, in the Mapfile to reclassify the 0 cells to 255 in
order to turn them white? I know I can always pre process the
rasters, but I'm talking about forty + files...<br>
<br>
Thanks in advance,<br>
<br>
Cheers,<br>
<br>
André Mano<br clear="all">
<br>
-- <br>
---------------------------------------------------------------<br>
Associação Leonel Trindade<br>
SOCIEDADE DE HISTÓRIA NATURAL<br>
<br>
Apartado 25 2564-909 Torres Vedras Portugal<br>
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560
Torres Vedras<br>
<br>
Laboratório de Paleontologia e Paleoecologia: Polígono Industrial
do Alto do Ameal 2565-641 Ramalhal<br>
<a moz-do-not-send="true" href="http://alt-shn.blogspot.com">http://alt-shn.blogspot.com</a><br>
<a moz-do-not-send="true" href="http://www.alt-shn.org">www.alt-shn.org</a><br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>