sld:LabelPlacement
The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG.
Element information
Namespace: http://niem.gov/niem/external/ogc-sld/1.0.20/dhs-gmo/1.0.0
Schema document: external/ogc-sld/1.0.20/dhs-gmo/1.0.0/sld.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Choice [1..1]
- sld:PointPlacement A "PointPlacement" specifies how a text label should be rendered relative to a geometric point.
- sld:LinePlacement A "LinePlacement" specifies how a text label should be rendered relative to a linear geometry.
Attributes
None
Used in
- Anonymous type of element sld:TextSymbol
Sample instance
<sld:LabelPlacement> <sld:PointPlacement> <sld:AnchorPoint> <sld:AnchorPointX>Any text, intermingled with:... </sld:AnchorPointX> <sld:AnchorPointY>Any text, intermingled with:... </sld:AnchorPointY> </sld:AnchorPoint> <sld:Displacement> <sld:DisplacementX>Any text, intermingled with:... </sld:DisplacementX> <sld:DisplacementY>Any text, intermingled with:... </sld:DisplacementY> </sld:Displacement> <sld:Rotation>Any text, intermingled with: <ogc:Add>... </ogc:Add> </sld:Rotation> </sld:PointPlacement> </sld:LabelPlacement>