transparency of rotated GIF files

Roy Braam roybraam at B3PARTNERS.NL
Fri Jun 29 03:05:14 EDT 2007


I think this can be solved with fonts. So create your own font with the symbols. But i havn't tested it.

Roy Braam
B3partners BV
  _____  

From: Richard Duivenvoorde [mailto:rdmailings at DUIF.NET]
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Thu, 28 Jun 2007 20:55:28 +0200
Subject: Re: [UMN_MAPSERVER-USERS] transparency of rotated GIF files

Hi Roy,
  
  I've been fiddling with this also, but was not successfull. I found that 
  it's only possible to rotate 90, 180 and 270 degree's WITH transparency, 
  but only with png24 (not png8), all other degrees will result in some 
  semitransparent block around the symbol.
  Somebody suggested problems with the underlying gdlib at that time?
  
  If you (or somebody else) manage(s) to get this working: please let 
  me/us know.
  
  for example see:
  http://www.nabble.com/Re%3A-Problem%3A-ANGLEITEM-and-TRANSPARENT-tf3490343.html#a9872743
  
  Richard Duivenvoorde
  
  
  Roy Braam 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
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070629/764fc1fc/attachment.html


More information about the mapserver-users mailing list