Transparent hatch patterns inMapServer

Gambin Dejan Dejan.Gambin at PULA.HR
Mon May 2 03:03:52 PDT 2005


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

SYMBOL
  NAME 'fill45'
  TYPE VECTOR
  POINTS
    0 5
    5 0
  END
END

and the class element:

CLASS
...
  COLOR 0 255 0
  OUTLINECOLOR 0 255 0
  SYMBOL 'fill45'
  ...
END

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

Dejan

-----Original Message-----
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
inMapServer


Have a look at:

http://mapserver.gis.umn.edu/doc44/cartographic-symbols.html

that should answer your question.

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Gambin Dejan <Dejan.Gambin at PULA.HR> 05/02/05 10:57am >>>
Hi,

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

Dejan



More information about the MapServer-users mailing list