[mapserver-users] Can I layer a 2-part, vector, highway symbol?
Roger André
randre at gmail.com
Fri Oct 15 15:43:01 PDT 2010
Brilliant, thanks. I had to mess with the ratio of sizes a bit, but the
following works:
# Interstate
CLASS
EXPRESSION "I1"
STYLE
SYMBOL "inter_base"
SIZE 20
COLOR 0 0 255
OUTLINECOLOR 255 255 255
END
STYLE
SYMBOL "shield_bar"
SIZE 4
COLOR 255 0 0
OFFSET 0 -8
END
LABEL
TYPE truetype
FONT "arial"
SIZE 6
COLOR 255 255 255
MINDISTANCE 200
PARTIALS false
POSITION CC
ANGLE 0
END # end label
END #end class
On Fri, Oct 15, 2010 at 6:57 AM, Stephen Woodbridge <woodbri at swoodbridge.com
> wrote:
> On 10/15/2010 12:55 AM, Roger André wrote:
>
>> Hi All,
>>
>> I'm stuck. How do I get US Interstate highway shields to display
>> properly?
>>
>> I got my annotation layer to display road shields, but I cannot figure
>> out how to display a 2-part interstate shield symbol with the parts
>> properly lined up. I have a base outline that displays in blue, and a
>> red top-bar that displays in red. Unfortunately, the bar sits in the
>> middle of the base, rather than at the top. I have a road shields .ttf
>> file that has shields in multiple pieces as well - same problem.
>>
>> How are these supposed to be done?
>>
>
> Use the OFFSETX and OFFSETY paramaters to nudge the pieces into place.
>
> -Steve W
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101015/889be094/attachment.htm>
More information about the MapServer-users
mailing list