Hello,

What is the best way to label a road displaying both the road number in a
shield and the road name along the line.  The following does not seem to work



The following is an attachment for my roads file. 

Layer #road annotation
        Data '.roads'
        Type annotation
        Classitem 'class'
        CLASS #US HWY shields
                TEXT ([ROAD_NUM])
                EXPRESSION ('[CLASS]' eq 'A10' and '[ROAD_NUM]' ne '0')
                COLOR 0 0 0 # dummy color
                SYMBOL '../../symbols/USHWY.png'
                LABEL
                                type truetype  # AGG required 
                                size 7 #for AGG
                        FONT vera_sans  #for AGG
                                MINFEATURESIZE 25
                                MINDISTANCE 200
                END #LABEL
END #CLASS
        CLASS #US HWY
                MAXSCALEDENOM 75000
                TEXT ([FULLNAME])
                EXPRESSION ('[CLASS]' eq 'A10' and '[ROAD_NUM]' ne '0')
                SYMBOL '../../symbols/USHWY.png'
                LABEL
                        TYPE TRUETYPE
                        FONT franklin-gothic-heavy
                        SIZE 7
                        ANTIALIAS TRUE
                        OUTLINECOLOR 254 254 254
                        BUFFER 0
                        MINFEATURESIZE auto
                        PARTIALS FALSE
                        ANGLE AUTO
                END #LABEL
        END #CLASS
...



Mark Volz
GIS Specialist
Lyon County, MN
507-532-8218


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to