Labels (or other use of fonts) require a fontset element to be defined on the mapfile, a fontset is a key path file having references to the fonts used.
Consider that the font needs to be available on the server (e.g. mscore fonts)
Currently when you combine labels and style in a single layer, only the geometry is drawn.
Seems a mapserver layer can only have a single class which applies, 2 options:
repeat the label definition in each of the classes
throw a warning to the user, indicating to split the layer into a label and geometry layer
Syntax for labels is (currently bridge adds label within style)
CLASS
LABEL
OFFSET 0.0 0.0
TEXT "[soil_cla_1]"
SIZE 12.607142857142854
FONT "DeJaVu"
TYPE truetype
COLOR "#323232"
END
END
Labels (or other use of fonts) require a fontset element to be defined on the mapfile, a fontset is a
key path
file having references to the fonts used.Consider that the font needs to be available on the server (e.g. mscore fonts)
Currently when you combine labels and style in a single layer, only the geometry is drawn. Seems a mapserver layer can only have a single class which applies, 2 options:
Syntax for labels is (currently bridge adds label within style)