offset symbols
John Hockaday
johnh at erin.gov.au
Fri Aug 18 00:13:38 PDT 2000
Steve,
That's been a big help. I've managed to get labels to use the
Symbol.ttf font but I can't seem to work out the key mapping. All I
seem to be able to get is a square.
Does anyone know the syntax for the key mapping? I've tried character
reference mapping eg. ¡ and hexadecimal mapping, such as, \161 and
x161 but I either get an "incorrect symbol" error or a square.
Thanks in advance.
Johnh
> Stephen Lime" <steve.lime at dnr.state.mn.us> writes
>
> No, symbols cannot be offset at persent although I don't see why not. I'll
look into adding this. There are work arounds. You can use truetype fonts as
labels right? So there's no reason you can't use font symbols (i.e. circles and
other shapes) instead of text. Use the class "TEXT" parameter to map a keyboard
value to a symbol. With labels you can use the normal 9 positions and can even
offset futher with the OFFSET parameter. I've done this in the past and it works
fine. Note that because your label is actually the symbol you can't label these
symbols without another layer.
>
> Steve
>
> >>> John Hockaday <johnh at erin.gov.au> 08/15/00 00:57 AM >>>
> Hi,
>
> Does anyone know if symbols can be offsetted from the point location?
>
> OR
>
> Can labels use symbols for the text instead of fonts?
>
> I have to plot six different symbols, which could vary by six different
> colours, around some point data. The symbols need to be chosen by the
> "year" attribute in the attribute table and the colour needs be chosen
> by the "rate" attribute in the same table.
>
> I thought that I could have six layers, one for each year, and then
> colour the symbols by the "rate" attribute value. Each year layer
> could then be ploted on top of each other with the symbol at a
> different offset to the point for each year.
>
> Any thoughts to help me out?
>
> Thanks in advance.
>
>
> Johnh
>
>
More information about the MapServer-users
mailing list