Hatching a polygon
Gerry Creager
gerry.creager at TAMU.EDU
Mon Apr 2 07:21:34 PDT 2007
The method I've used is to have 2 polygon layers for the hatched
polygon. The first created is the hatched or filled poly. Then,
another, image, layer is written. Finally, I redisplay the polygon
*outline* (with no fill) over the image.
Hope this helps.
Gerry
Gary Watry wrote:
> I know how to hatch a polygon,
> but what I want to do is
> 1. if I create a polygon fill using
>
> in the symbol.sym file
>
> # Cross Hatch
> SYMBOL
> NAME "hatch"
> TYPE HATCH
> END
>
> and in the mapfile
>
> STYLE
> SYMBOL 'hatch'
> COLOR 255 0 0
> OUTLINECOLOR 0 0 0
> ANGLE 45
> SIZE 10
> WIDTH 3
> END
>
> How do I make the hatch so I can see the layer underneath the polygon
> instead of the white color between the hatch lines??
>
> 2 Is it possible to make a polygon fill semi-transparent so you can see
> the layer underneath the polygon through the fill??
>
--
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.862.3983
Office: 1700 Research Parkway Ste 160, TAMU, College Station, TX 77843
More information about the MapServer-users
mailing list