<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR>I've done it with several rectangle symbols.<BR>
 <BR>
Thank you all for the quick answers! :)<BR>
 <BR>
Nelson <BR>
 <BR>> Date: Tue, 28 Apr 2009 19:33:01 +0200<BR>> Subject: Re: [mapserver-users] Outline on the roads label boxes<BR>> From: thomas.bonfort@camptocamp.com<BR>> To: Steve.Lime@dnr.state.mn.us<BR>> CC: nelsonwc7@hotmail.com; mapserver-users@lists.osgeo.org<BR>> <BR>> The label background is getting quite cluttered actually, we have<BR>> backgroundcolor, backgroundshadowcolor, backgroundshadowsize, and<BR>> maybe a couple of others I'm forgetting.<BR>> <BR>> maybe we could add something equivalent to backgroundstyle that would<BR>> have the same syntax as a class STYLE, that would then be passed on as<BR>> a normal style to msDrawShadeSymbol, along with the shapeobj<BR>> corresponding to the background shade.<BR>> <BR>> we'd then have all the goodness of mapserver styles: outlines,<BR>> symbols, opacity, etc...<BR>> <BR>> just a thought,<BR>> <BR>> thomas<BR>> <BR>> On Tue, Apr 28, 2009 at 7:23 PM, Steve Lime <Steve.Lime@dnr.state.mn.us> wrote:<BR>> > You can however, develop separate classes based on label length. You'd have different<BR>> > symbols to handle wide text vs. narrow. For example:<BR>> ><BR>> > LABELITEM 'myitem'<BR>> > CLASS<BR>> >  EXPRESSION (length('[myitem]') > 5) # use a really wide shield<BR>> >  STYLE<BR>> >    SYMBOL 'reallywideshield'<BR>> >     ...<BR>> >  END<BR>> > END<BR>> > CLASS<BR>> >  EXPRESSION (length('[myitem]') > 3) # use a wide marker<BR>> >  STYLE<BR>> >    SYMBOL 'wideshield'<BR>> >     ...<BR>> >  END<BR>> > END<BR>> > CLASS # default to a regular shield<BR>> >  STYLE<BR>> >    SYMBOL 'shield'<BR>> >     ...<BR>> >  END<BR>> > END<BR>> ><BR>> > Steve<BR>> ><BR>> >>>> On 4/28/2009 at 12:10 PM, in message<BR>> > <2922382e0904281010i47fadd9ds51346665bd481f51@mail.gmail.com>, Thomas Bonfort<BR>> > <thomas.bonfort@camptocamp.com> wrote:<BR>> >> this isn't currently possible.<BR>> >><BR>> >> best regards,<BR>> >> thomas<BR>> >><BR>> >> On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia <nelsonwc7@hotmail.com> wrote:<BR>> >>><BR>> >>> Hi,<BR>> >>><BR>> >>> Do you know how to write an outline on the roads label boxes, just like the<BR>> >>> ones that Google Maps has? In Mapserver docs I only see an outline for the<BR>> >>> letters and not for the background. Does Mapserver support it?<BR>> >>><BR>> >>> You can see the labels (L2150, K2, K7) with white background and black<BR>> >>> outline at:<BR>> >>><BR>> >>><BR>> >> http://maps.google.com/maps?ie=UTF8&ll=50.764911,10.953197&spn=0.038979,0.11158<BR>> >> &z=14<BR>> >>><BR>> >>> Thanks,<BR>> >>><BR>> >>> Nelson<BR>> >>><BR>> >>> ________________________________<BR>> >>> Get news, entertainment and everything you care about at Live.com. Check it<BR>> >>> out!<BR>> >>> _______________________________________________<BR>> >>> mapserver-users mailing list<BR>> >>> mapserver-users@lists.osgeo.org<BR>> >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users<BR>> >>><BR>> >>><BR>> >><BR>> >><BR>> >><BR>> >> --<BR>> >> www.camptocamp.com<BR>> >> +33 4 79 26 57 97<BR>> >> _______________________________________________<BR>> >> mapserver-users mailing list<BR>> >> mapserver-users@lists.osgeo.org<BR>> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users<BR>> ><BR>> ><BR>> <BR>> <BR>> <BR>> -- <BR>> www.camptocamp.com<BR>> +33 4 79 26 57 97<BR><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>