[Geomoose-users] Legend Labels

Nelson Soto nellyfromma at gmail.com
Tue May 20 12:52:07 EDT 2008


Hello,

I thought I had figured this out but it seems to have come up again
and I haven't dealt with it in awhile.

I have Layers that toggle Parcel Names, Street Names, etc. I do want
them to appear in my map layers, but I do not need them to show up in
the legend once they are on. My mapfile says:

MAP
	NAME 'Street Names'
	SIZE 800 650
	STATUS ON
	EXTENT  201779.095954 875680.979642 210107.108238 880995.644173
	UNITS METERS
	FONTSET '../fonts/fontset.list'
	SYMBOLSET '../symbols/symbol.sym'
	TRANSPARENT TRUE
	IMAGETYPE PNG

	QUERYMAP
		STATUS ON
	END

	WEB
	  INCLUDE "/ms4w/apps/GeoMOOSE/maps_test/web_config.map"
	END

LEGEND
        STATUS OFF
END

  LAYER
  	NAME 'Street Names'
    DATA 'eotroads_177.shp'
    STATUS DEFAULT
  	TYPE LINE
    LABELITEM STREET_NAM
  	LABELCACHE ON
  	LABELMAXSCALE 10000
  	
    CLASS
        NAME "Street Names"
        LABEL
            ANGLE AUTO
            TYPE TRUETYPE
            FONT trebuchet_ms-bold
            SIZE 12
            COLOR 0 0 0
            OUTLINECOLOR 255 255 255
            POSITION CC
            BUFFER 4
            MINFEATURESIZE AUTO
            PARTIALS TRUE
        END

  END
  	

  END

END ## end Map




More information about the Geomoose-users mailing list