two attribute in labelitem

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Fri Apr 21 06:31:24 EDT 2006


You should use TEXT for that.

TEXT [string]
    Static text to label features in this class with. This overrides
    values obtained from the LABELTIEM. The string may be given as an
    expression delimited using the ()'s. This allows you to concatenate
    multiple attributes into a single label. For example:
    ([FIRSTNAME],[LASTNAME]).


See the MAP file reference:
http://mapserver.gis.umn.edu/docs/reference/mapfile/referencemanual-all-pages

Best regards,
Bart

Khaled Kamoun wrote:

> HI,
> I want to know if it's possible to put two attribute in labelitem, or 
> concat two attribute.
> Thank you.
>
> -- 
> Khaled KAMOUN



-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the mapserver-users mailing list