Hatching a polygon

Gregor Mosheh gregor at HOSTGIS.COM
Mon Apr 2 09:10:08 EDT 2007


Gary Watry wrote:
> I know how to hatch a polygon,

> How do I make the hatch so I can see the layer underneath the polygon
> instead of the white color between the hatch lines??

Try setting the color or outlinecolor to -1 -1 -1 and see whether that
does what you wanted.


> 2 Is it possible to make a polygon fill semi-transparent so you can see
> the layer underneath the polygon through the fill??

Nope. The transparency parameter in the LAYER object is the closest thing
that exists. Note that the name is a bit of a misnomer, since it sets the
*opacity* and not the *transparency* of the layer.



More information about the mapserver-users mailing list