[Geomoose-users] Legend Labels
Dan Little
danlittle at yahoo.com
Tue May 20 13:40:27 EDT 2008
My proposed modification is below, if there is no class name, Mapserver will not render it.
----- Original Message ----
From: Nelson Soto <nellyfromma at gmail.com>
To: geomoose-developers at lists.sourceforge.net; geomoose-users at lists.sourceforge.net
Sent: Tuesday, May 20, 2008 11:52:07 AM
Subject: [Geomoose-users] Legend Labels
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" -- Commenting this out makes the legend not appear.
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080520/2c805d0c/attachment.html
More information about the Geomoose-users
mailing list