[mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Nelson Correia
Hi, Do you know how to write an outline on the roads label boxes, just like the ones that Google Maps has? In Mapserver docs I only see an outline for the letters and not for the background. Does Mapserver support it? You can see the labels (L2150, K2, K7) with white background and

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Thomas Bonfort
this isn't currently possible. best regards, thomas On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia nelson...@hotmail.com wrote: Hi, Do you know how to write an outline on the roads label boxes, just like the ones that Google Maps has? In Mapserver docs I only see an outline for the

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Christy Nieman
Hi, You can use an annotation layer with a symbol. Something like: LAYER NAME labels TYPE ANNOTATION DATA /your/data/path/ STATUS ON LABELITEM RD_NUM CLASS NAME road_numbers STYLE SYMBOL 'rectangle' COLOR 255 255 255 OUTLINECOLOR 0 0 0 SIZE 16 END LABEL

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Steve Lime
You can however, develop separate classes based on label length. You'd have different symbols to handle wide text vs. narrow. For example: LABELITEM 'myitem' CLASS EXPRESSION (length('[myitem]') 5) # use a really wide shield STYLE SYMBOL 'reallywideshield' ... END END CLASS

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Thomas Bonfort
The label background is getting quite cluttered actually, we have backgroundcolor, backgroundshadowcolor, backgroundshadowsize, and maybe a couple of others I'm forgetting. maybe we could add something equivalent to backgroundstyle that would have the same syntax as a class STYLE, that would then

RE: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Nelson Correia
I've done it with several rectangle symbols. Thank you all for the quick answers! :) Nelson Date: Tue, 28 Apr 2009 19:33:01 +0200 Subject: Re: [mapserver-users] Outline on the roads label boxes From: thomas.bonf...@camptocamp.com To: steve.l...@dnr.state.mn.us CC: nelson