Or you could have one class and have the name of the right shield to use in an attribute in your data and use attribute mapping

   STYLE
     SYMBOL [myShieldAttribute]
     ...
   END

Regards,
Christy

Steve Lime wrote:
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
  EXPRESSION (length('[myitem]') > 3) # use a wide marker
  STYLE
    SYMBOL 'wideshield'
     ...
  END
END
CLASS # default to a regular shield
  STYLE
    SYMBOL 'shield'
     ...
  END
END

Steve

On 4/28/2009 at 12:10 PM, in message
<[email protected]>, Thomas Bonfort
<[email protected]> wrote:
this isn't currently possible.

best regards,
thomas

On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia <[email protected]> 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
letters and not for the background. Does Mapserver support it?

You can see the labels (L2150, K2, K7) with white background and black
outline at:


http://maps.google.com/maps?ie=UTF8&ll=50.764911,10.953197&spn=0.038979,0.11158 &z=14
Thanks,

Nelson

________________________________
Get news, entertainment and everything you care about at Live.com. Check it
out!
_______________________________________________
mapserver-users mailing list
[email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users


--
www.camptocamp.com +33 4 79 26 57 97
_______________________________________________
mapserver-users mailing list
[email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to