All,
 
Note, the last Highway Shield in the Legend output is generated from a
carbon copy of the first CLASS in the listing below but at the line
drawing stage.  I was trying to move the Legend generation stuff into
it's own LAYER as list below, but the Symbols don't want to cooperate
for some reason.  Are there some default settings that should be used or
????
 
Thanks
 
bobb
 
 
Here is the MAPFILE fragment for the legend output:
 
########################
##  Legend Chips - This section used exclusively for Legend Generation
##                 Basically these are duplicates of the Style entries
##                 for the separate layer
########################
  LAYER
    NAME 'legend_chips'
    GROUP 'interstate_poly'
    STATUS DEFAULT
    TYPE LINE
    CLASS
      NAME 'US Interstate'
      STYLE
        SYMBOL 'interstate1_wide_back'
        SIZE 22
        COLOR 255 0 0
      END
      STYLE
        SYMBOL 'interstate1_wide_front'
        SIZE 22
        COLOR 115 113 206
        OUTLINECOLOR 254 254 254
      END      
      LABEL
        TYPE TRUETYPE
        FONT bluehigh
        SIZE 12
        COLOR 254 254 254
        MINDISTANCE 200
        MINFEATURESIZE 10
        OFFSET 0 0
        PARTIALS FALSE
      END
    END
    CLASS
      NAME 'Access Ramp'
      STYLE
        SYMBOL 'circle'
        SIZE 6
        COLOR 175 175 175
      END
      STYLE
        SYMBOL 'circle'
        SIZE 4
        COLOR 239 211 66
      END
    END
    CLASS
      NAME 'Local Roads'
      STYLE
        SYMBOL 'circle'
        SIZE 14
        COLOR 175 175 175
      END
      STYLE
        SYMBOL 'circle'
        SIZE 10
        COLOR 254 254 254
      END
    END
    CLASS
      NAME 'Secondary Road'
      STYLE
        SYMBOL 'circle'
        SIZE 14
        COLOR 175 175 175
      END
      STYLE
        SYMBOL 'circle'
        SIZE 10
        COLOR 255 251 115
      END
    END
    CLASS
      NAME 'MN Highway'
      STYLE
        SYMBOL 'circle'
        SIZE 14
        COLOR 175 175 175
      END
      STYLE
        SYMBOL 'circle'
        SIZE 10
        COLOR 255 251 115
      END
    END
    CLASS
      NAME 'US Highway'
      STYLE
        SYMBOL 'circle'
        SIZE 14
        COLOR 175 175 175
      END
      STYLE  
        SYMBOL 'circle'  
        SIZE 10  
        COLOR 255 251 115 
      END
    END
    END
    
  END

Reply via email to