Layers Symbology {Scanned}

Siki Zoltan siki at AGT.BME.HU
Wed Sep 29 14:51:53 PDT 2004


Hi,

You have to define symbol set, you can put it into a separate file or
you cen define symbols in the map file. Usually the separate file is
prefered.

symbol file (symbols.sym)
SYMBOLSET

SYMBOL  #  standard cicular brush
        NAME 'circle'
        TYPE ELLIPSE
        POINTS 1 1 END
        FILLED TRUE
END

SYMBOL  # cross hatching
        NAME 'fill45'
        TYPE VECTOR
        TRANSPARENT 0
        POINTS
                0 1
                1 0
        END
END

# end of symbol file

map file

....
LAYER # cross hatched polygons
        NAME 'a_polygon_layer'
        ...
        CLASS
                COLOR 60 60 60
                OUTLINECOLOR 0 0 0
                SYMBOL 'fill45'
                SIZE 3
        END
END

LAYER # thick lines
        NAME 'a_line_layer'
        ...
        CLASS
                SYMBOL 'circle'
                SIZE 3
                COLOR 255 0 0
        END
END

For more info check mapserver wiki

Bye
Zoltan


On Wed, 29 Sep 2004, Pierre RELLA wrote:

> 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
>



More information about the MapServer-users mailing list