Configuration Options for TextSymbolizer
| name | This is the query field you want to use for the label text, ie "street_name" |
| face_name | Font name |
| size | Font size |
| text_ratio | ? |
| wrap_width | length before wrapping long names |
| spacing | space between repeated labels |
| label_position_tolerance | allow labels to be moved from their point |
| max_char_angle_delta | Maximum angle (in degrees) between two consecutive characters in a label allowed (to stop placing labels around sharp corners) |
| fill | Color of the fill ie #FFFFFF |
| halo_fill | Color of the halo |
| halo_radius | Radius of the halo in whole pixels, fractional pixels are not accepted |
| dx, dy | displace label by fixed amount on either axis. |
| avoid_edges | Boolean to avoid labeling near intersection edges. |
| min_distance | Minimum distance between repeated labels such as street names or shield symbols |
| allow_overlap | Allow 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
