[mapserver-users] Reclassify raster cell values

ALT SHN i.geografica at alt-shn.org
Fri Dec 14 14:48:13 PST 2012


Thank you Rahknonen,

However this is not quite what I expected. If I reclassify a particular
value, all other cells disapear.
This leads me to another question (I'll open another topic too). the
PROCESSING LUT command can be used as a way to build a indexed color table
for 8bit rasters. Is there a way to import a color table ?

Thank you

André

2012/12/10 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>

> Hi,
>
> It should be possible to do what you want by using the PROCESSING LUT
> option.
> http://www.mapserver.org/input/raster.html
>
> -Jukka Rahkonen-
>
> ________________________________
> > ALT SHN wrote:
>
> > Hello Everyone,
>
> > First time Mapserver user here, and I would appreciate some advice
> regarding this problem:
>
> > 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)
>
> > 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...
>
> > Thanks in advance,
>
> Cheers,
>
> André Mano
>
> --
> ---------------------------------------------------------------
> Associação Leonel Trindade
> SOCIEDADE DE HISTÓRIA NATURAL
>
> Apartado 25 2564-909 Torres Vedras Portugal
> Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras
>
> Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto
> do Ameal 2565-641 Ramalhal
> http://alt-shn.blogspot.com
> www.alt-shn.org<http://www.alt-shn.org>
>



-- 
---------------------------------------------------------------
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto
do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121214/de8b3112/attachment.htm>


More information about the MapServer-users mailing list