Creating complex LABELS with a single CONCAT function in Map 3D 2011

by

In this example we will create multiline labels for sanitary lines containing seven field values, prefixes and suffixes, and a carriage return with one CONCAT function. The same label before contained thirteen CONCATs. The key is to separate FIELDs, ‘TEXT’, and ‘\n’ (carriage returns) by commas. Text values and the carriage returns must be enclosed with a single quote and then followed by comma. This method makes is easy to create custom complex multiline labels.

LABEL1

FROM THIS

concat("SIZE1", concat(‘" ‘, concat("MATERIAL", concat(‘ San @ ‘, concat("SLOPE", concat(‘%’, concat(‘\n’, concat("PLN_TYPE", concat("PLN_NUM", concat(‘(UE:’, concat("UP_ELEV", concat(‘,DE:’, concat("DN_ELEV", ‘)’)))))))))))))

LABELA

TO THIS

CONCAT( SIZE1 ,’" ‘, MATERIAL , ‘SAN@ ‘, SLOPE ,’%’,’\n’, PLN_TYPE , PLN_NUM ,’ UE: ‘, UP_ELEV ,’ DE: ‘, DN_ELEV )

LABELB

Leave a comment