Layers Symbology
Norbert Thieme
norbert.thieme at ILMENAU.BAW.DE
Wed Sep 29 00:06:16 PDT 2004
Pierre RELLA schrieb:
>Hi,
>
> I have two questions:
> -In a vector layer, line or polygon type,is it possible to thicken the
>line or the outline?
> -In vector lines, polygon type, instead of full polygons i want to have
>hatching polygons
>
>
>
>
Pierre,
you can do this with styles (size and symbols). For example:
MAP
...
SYMBOL
NAME 'outline'
TYPE ELLIPSE
POINTS 1 1 END
FILLED true
END
SYMBOL
NAME "hatchfill"
TYPE vector
TRANSPARENT 0
POINTS
0 1
1 0
END
END
...
LAYER
...
TYPE POLYGON
...
CLASS
...
STYLE # thickened-diagonal-hatch-fill
COLOR 255 0 0
SYMBOL "hatchfill"
SIZE 3
END
STYLE # thickened outline
OUTLINECOLOR 0 255 0
SYMBOL 'outline'
SIZE 5
END
END
END
END
You can define the symbol to whatever you want. You can draw a connected
line (e.g. looking like "<" ) or a seperated line (e.g. looking like "X"
). For the seperation use a point with "-99 -99".
Regards,
Norbert
More information about the MapServer-users
mailing list