funky legend
Bob Basques
Bob.Basques at CI.STPAUL.MN.US
Fri Jan 4 13:22:06 PST 2008
All,
I'm so embarrassed.
figured it out for myself. Needed to change the Shield symbol layer to
ANNOTATION from LINE Just needed a separate layer for the Symbol
Points
Thanks
The previous link show the corrected Symbols now.
bobb
>>> Bob Basques <Bob.Basques at ci.stpaul.mn.us> wrote:
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=__Part775143B9.0__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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
--=__Part775143B9.0__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html;
charset=3Diso-8859-15=
">
<META content=3D"MSHTML 6.00.2800.1505" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Comic Sans MS">
<DIV>All,</DIV>
<DIV> </DIV>
<DIV>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 =
????</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>bobb</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Here is the MAPFILE fragment for the legend output:</DIV>
<DIV> </DIV>
<DIV>########################<BR>## Legend Chips - This section
used =
exclusively for Legend
Generation<BR>## =
Basically
=
these are duplicates of the Style
entries<BR>## &nbs=
p;
for =
the separate layer<BR>########################<BR>
LAYER<BR> &nb=
sp; NAME 'legend_chips'<BR> GROUP
'interstate_poly'=
<BR> STATUS DEFAULT<BR> TYPE
LINE<BR>&n=
bsp; CLASS<BR> NAME 'US =
Interstate'<BR>
STYLE<BR> &n=
bsp; SYMBOL
'interstate1_wide_back'<BR> =
SIZE
22<BR> &nb=
sp; COLOR 255 0 0<BR>
END<BR> &nbs=
p; STYLE<BR>
SYMBOL =
'interstate1_wide_front'<BR>
=
SIZE 22<BR> COLOR 115 113 =
206<BR> OUTLINECOLOR 254 254
=
254<BR> END
=
<BR>
LABEL<BR> &=
nbsp; TYPE TRUETYPE<BR>
=
FONT bluehigh<BR> SIZE
12<BR>&nbs=
p; COLOR 254 254
254<BR> &nb=
sp; MINDISTANCE
200<BR> &nbs=
p; MINFEATURESIZE
10<BR> &nb=
sp; OFFSET 0 0<BR> PARTIALS
=
FALSE<BR> END<BR> =
END<BR> CLASS<BR> NAME
=
'Access Ramp'<BR>
STYLE<BR> =
SYMBOL
'circle'<BR> &=
nbsp; SIZE 6<BR> COLOR
175 =
175 175<BR>
END<BR> &n=
bsp; STYLE<BR> SYMBOL
'circle'<BR=
> SIZE
4<BR> &nb=
sp; COLOR 239 211
66<BR> =
END<BR> END<BR>
CLASS<BR> &n=
bsp; NAME 'Local Roads'<BR>
=
STYLE<BR> SYMBOL
'circle'<BR>&nbs=
p; SIZE
14<BR> &=
nbsp; COLOR 175 175 175<BR>
=
END<BR>
STYLE<BR> &nbs=
p; SYMBOL
'circle'<BR>  =
; SIZE 10<BR> COLOR 254 254
=
254<BR> END<BR>
END<BR>&nbs=
p; CLASS<BR> NAME 'Secondary
=
Road'<BR>
STYLE<BR> &n=
bsp; SYMBOL
'circle'<BR> &nb=
sp; SIZE 14<BR> COLOR 175 175
=
175<BR>
END<BR> =
STYLE<BR> SYMBOL
'circle'<BR>&nb=
sp; SIZE
10<BR> =
COLOR 255 251 115<BR>
=
END<BR> END<BR>
CLASS<BR> &n=
bsp; NAME 'MN Highway'<BR> =
STYLE<BR> SYMBOL
'circle'<BR>&nbs=
p; SIZE
14<BR> &=
nbsp; COLOR 175 175 175<BR>
=
END<BR>
STYLE<BR> &nbs=
p; SYMBOL
'circle'<BR>  =
; SIZE 10<BR> COLOR 255 251
=
115<BR> END<BR>
END<BR>&nbs=
p; CLASS<BR> NAME 'US
Highway'<BR=
>
STYLE<BR> &nbs=
p; SYMBOL 'circle'<BR>
=
SIZE 14<BR> COLOR 175 175 =
175<BR>
END<BR> =
STYLE <BR> SYMBOL =
'circle' <BR> SIZE =
10 <BR> COLOR 255 251
115 =
<BR> END<BR>
END<BR> &=
nbsp; END<BR> <BR>
END</DIV></BODY></HTML>
--=__Part775143B9.0__=--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080104/f83a2ce2/attachment.htm>
More information about the MapServer-users
mailing list