transparency of rotated GIF files

Steve Lime Steve.Lime at DNR.STATE.MN.US
Fri Jun 29 12:17:41 PDT 2007


What version of GD are you using? With older versions there seems to be an issue in GD itself. I was
hoping perhaps that it was fixed on their end in 2.0.34 but I have not checked myself.

Steve

>>> On 6/28/2007 at 5:56 AM, in message
<20070628105600.b542dc2e at kmail.b3partners.nl>, Roy Braam
<roybraam at B3PARTNERS.NL> wrote:
> Hai,
> 
> I've got a question about the transparency of rotated GIF files. Perhaps 
> it's asked a many times but i can't find a answer on the internet.
> 
> The layer:
> LAYER
>     STATUS OFF
>     METADATA
>         "wms_title"                "somelayer"        
>       END
>     CONNECTIONTYPE postgis
>     NAME "somelayer"
>     CONNECTION "user=postgres password=xxxx dbname=xxxx host=xxxxx"
>     DATA "the_geom from somelayer"
>     #MAXSCALE 100000
>     TYPE POINT
>     DUMP TRUE
>     TEMPLATE bla
>     TOLERANCE 10
>     TRANSPARENCY alpha
>     CLASS
>         EXPRESSION ('[s]'="B")
>         NAME "Brug"
>         STYLE    
>             ANGLE [road_direction]
>             COLOR 0 0 255
>             SYMBOL "bridge.gif"
>         END
>     END
> END
> 
> If i don't rotate the image then the image is transparent but if i add the 
> property angle [road_direction] the image rotates fine but isn't transparent 
> any more. How can a i solv this problem?
> 
> Tia,
> 
> Roy



More information about the MapServer-users mailing list