I'm novice in Geoserver. I use Version 2.15.1.
I would like to display labels. This is my SLD – made and export with QGIS:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1.0" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>Beschriftung</se:Name>
<UserStyle>
<se:Name>Beschriftung</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Single symbol</se:Name>
<se:PointSymbolizer>
<se:Graphic>
</se:Graphic>
</se:PointSymbolizer>
</se:Rule>
<se:Rule>
<se:TextSymbolizer>
<se:Label>
<ogc:PropertyName>label_text</ogc:PropertyName>
</se:Label>
<se:Font>
<se:SvgParameter name="font-family">MS Shell Dlg 2</se:SvgParameter>
<se:SvgParameter name="font-size">6</se:SvgParameter>
</se:Font>
<se:LabelPlacement>
<se:PointPlacement>
<se:AnchorPoint>
<se:AnchorPointX>0</se:AnchorPointX>
<se:AnchorPointY>0.5</se:AnchorPointY>
</se:AnchorPoint>
</se:PointPlacement>
</se:LabelPlacement>
<se:Fill>
<se:SvgParameter name="fill">#8b0000</se:SvgParameter>
</se:Fill>
<se:VendorOption name="maxDisplacement">1</se:VendorOption>
<se:VendorOption name="conflictResolution">false</se:VendorOption>
</se:TextSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Everything looks nice in QGIS. On the Geoserver the texts are shifted and written in each other.
Am I doing something wrong or is it not possible to insert the SLD from QGis in the geoserver? In addition, I would like the text in different zoom levels are displayed in different sizes. How do I realize that?
The pictures show the text layer together with another layer. First QGIS then Geoserver: