Frank,

Would it be possible to make mapserver pick up the NODATA value from the gdal source file. Maybe using a keyword like "OFFSITE AUTO". This would be especially useful when using a tileindex.

Any thoughts on this? Should I create a ticket for something like this?

-Steve W

On 5/9/2012 9:36 AM, Rahkonen Jukka wrote:
Hi,
Perhaps you cannot literally set a colour as transparent in a tiff but
for sure you can define a nodata value and then applications can make
nodata pixels transparent. That is the most normal way to do it with
Mapserver and OFFSITE. I believe that Mapserver does not even care if
tiff has a nodata tag set but you can give whatever value for offsite in
a mapfile.
I have not played at all with alpha, but perhaps there is some way to
give a list of pixel values which should be transparent and convert them
all to a suitable alpha channel value.
-Jukka Rahkonen-

    Fernando Nortewrote:
    Hi Christoph,

    I try to understand, how did you set the specific color to
    transparent in a TIFF?
    For raster you can set the level of transparency/opacity to the
    image not to a color.

    Att,

    *Fernando Norte*

    Desenvolvedor SIGWeb

    tel.(31) 2533.9900

    cel.(31) 9119.8814

    skype: fernandoglobalgeo

        

    Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno

    Nova Lima/MG - CEP: 34.000-000

    www.globalgeo.com.br <http://www.globalgeo.com.br/>

    "O presente documento pode conter material confidencial ou seu
    sigilo é protegido por lei.
    Quaisquer informações nele contida são destinadas exclusivamente
    ao(s) seu(s) destinatário(s)
    não devendo em nenhuma hipótese ser repassado a terceiros".




    2012/5/9 Christoph Schumacher
    <[email protected]
    <mailto:[email protected]>>

        Hello everybody,

        I have a problem setting up my wms.
        I have multiple tiff images that have different colours to be
        set up as transparaent.

        With the offsite parameter I can only set one colour transparent.

        Now my question is: Is there a way to make various colour
        transparent??


        best wishes and thank you very much

        christoph


        _______________________________________________
        mapserver-users mailing list
        [email protected]
        <mailto:[email protected]>
        http://lists.osgeo.org/mailman/listinfo/mapserver-users




_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to