Symbology Questions
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Sat Apr 28 17:56:51 PDT 2007
On further investigation, it looks like the fill on the truetype symbol
is white but the symbol is drawn in black, the requested color. The
layer looks like:
# Building
LAYER
NAME "buildin_p"
GROUP "CO"
STATUS DEFAULT
MAXSCALE 100100
TILEINDEX "tindex-50k"
DATA "buildin_p"
TYPE POINT
CLASSITEM "ATC"
CLASS
...
END
...
CLASS
EXPRESSION "177" # Industrial building
STYLE
SYMBOL "building"
SIZE 15
ANGLEITEM "ANGLE"
COLOR 0 0 0
END
END
END
-Steve
Stephen Woodbridge wrote:
> Hi all,
>
> I have some question on symbology that are not address by the current
> documentation. I'm using mapserver 4.10.1
>
> 1) I have truetype font with symbols in it. Some of the symbols I can
> trying to use show nicely in Windows Character Map as a solid filled
> pictograph, but when I create a mapserver symbol it is just an outline.
>
> SYMBOL
> NAME "building"
> TYPE TRUETYPE
> FONT "cartogra"
> CHARACTER "F"
> FILLED TRUE
> END
>
> 2) I need to make a dashed line with some additional symbols along it,
> like:
>
> ----(.)---- ---- ---- ----(.)---- ----
>
> Where the (.) is a circle with a dot. I have a truetype symbol for the
> (.), but the (.) needs to fall in what would otherwise be a gap. So I am
> trying something like this:
>
> SYMBOL
> NAME "a_cable_dot"
> TYPE TRUETYPE
> FONT "cartogra"
> CHARACTER "J"
> GAP 100
> END
>
> SYMBOL
> NAME "a_cable_dash"
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> STYLE 0 5 20 5 20 5 20 5 20 END
> END
>
> then overlaying the two of these with two styles.
> Is there a better way of doing this?
> How can I control the placement of the circle-dot.
>
> Thanks,
> -Steve W
More information about the MapServer-users
mailing list