Transparent hatch patterns inMapServer
Dejan.Gambin at PULA.HR
Mon May 2 08:13:54 EDT 2005
Thanks Stephane I have tried this and it works. I thought I have to deal with symbol parameters but this is even better.
Thanks very much
From: Stéphane RIFF [mailto:stephane.riff at cerene.fr]
Sent: Monday, May 02, 2005 2:03 PM
To: Gambin Dejan
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Transparent hatch patterns inMapServer
Try removing you COLOR attribute and i think there
is a TRANSPARENCE attibute in the layer object
the value is between 0 to 100 where 0 is opaque and 100 fully transparent
Gambin Dejan wrote:
>Well I have to admit I didn't find the answer in this document. I can
>get hatch patterns shown well. For example I have used the symbol
> NAME 'fill45'
> TYPE VECTOR
> 0 5
> 5 0
>and the class element:
> COLOR 0 255 0
> OUTLINECOLOR 0 255 0
> SYMBOL 'fill45'
>and I get green lines hatch pattern, but the space between the line is
>filled with white colour, it is not transparent ie I can't see my tiff
>that is below. Am I missing something? It is written at the end of the
>document something about the current problems/issues that open symbols
>are rendered incorrectly? Is it related?
>Thanks very much
>From: Bart van den Eijnden [mailto:BEN at Syncera-ITSolutions.NL]
>Sent: Monday, May 02, 2005 11:00 AM
>To: MAPSERVER-USERS at LISTS.UMN.EDU; Gambin Dejan
>Subject: Re: [UMN_MAPSERVER-USERS] Transparent hatch patterns
>Have a look at:
>that should answer your question.
>Bart van den Eijnden
>2600 AG DELFT
>email: BEN at Syncera-ITSolutions.nl
>>>>Gambin Dejan <Dejan.Gambin at PULA.HR> 05/02/05 10:57am >>>
>I would like to have a hatch for my polygon (for example a cross hatch)
>that could be transparent, so that I can see an ortophoto tiff image on
>the layer below. Is it possible? There is TRANSPARENT parameter in
>Symbol reference but I don't know if this can solve my problem.
>Thanks in advance
More information about the mapserver-users