[mapserver-users] Complex Symbols?
TCHaddad
TCHaddad at cshore.com
Fri Nov 1 11:02:35 PST 2002
Apologies, forgot to CC the list with this solution...
I use the following to get an ok rail line symbol:
CLASS
NAME "Rail Line"
COLOR 79 79 79
SYMBOL 'circle1'
SIZE 1
OVERLAYSYMBOL 'dcircle'
OVERLAYCOLOR 0 0 0
OVERLAYSIZE 3
END
where the 2 symbols are definined in the symbolset as:
Symbol
NAME 'circle1'
TYPE ellipse
FILLED true
POINTS
1 1
END
END
Symbol
NAME 'dcircle'
TYPE Ellipse
FILLED TRUE
POINTS 1 1 END
STYLE 1 3 END
END
Hope this helps,
TH
---------- Original Message ----------------------------------
From: Drew from Zhrodague <drew at zhrodague.net>
Date: Fri, 1 Nov 2002 13:09:39 -0500 (EST)
>> I scoured the mailing lists for information on making the exact same symbol
>> recently. It shows up in the archives several times. I hate to say
>> anything can't be done, but I've not found any way to do this in MapServer.
>> MapServer gives a continuous smear for symbols for "line" type layers.
>>
>> I got close using a centered truetype "t" label without any symbol.
>> Unfortunately it doesn't turn out quite right. Labeling occurs on a per
>> segment basis, which gives no uniformity. It was a hack anyway.
>
>> >
>> > ----|-----|-----|-----|----
>> >
>
> We use a circle with a large size (like 8 or 12 or something), and
>our railroads come-out sorta like this:
>
> XXXXXXXXXXXXXXX
>
> Railroads aren't really our bag, so we kinda don't care --
>as long as it doesn't look like a normal road. Couldn't you use a truetype
>"+"-char?
>
>
More information about the MapServer-users
mailing list