Configuration Options for TextSymbolizer

nameThis is the query field you want to use for the label text, ie "street_name"
face_nameFont name
sizeFont size
text_ratio?
wrap_widthlength before wrapping long names
spacingspace between repeated labels
label_position_toleranceallow labels to be moved from their point
max_char_angle_deltaMaximum angle (in degrees) between two consecutive characters in a label allowed (to stop placing labels around sharp corners)
fillColor of the fill ie #FFFFFF
halo_fillColor of the halo
halo_radiusRadius of the halo in whole pixels, fractional pixels are not accepted
dx, dydisplace label by fixed amount on either axis.
avoid_edgesBoolean to avoid labeling near intersection edges.
min_distanceMinimum distance between repeated labels such as street names or shield symbols
allow_overlapAllow labels to overlap other labels
placement"line" to label along lines instead of by point

Examples

XML

See XMLGettingStarted for an XML example use of TextSymbolizer.

Python

FIXME

C++

FIXME