Bug report #16413
Updated by Andrea Aime over 7 years ago
I have a layer style with a PolygonSymbolizer filled with a line pattern fill with a rotation
<pre>
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:Mark>
<se:WellKnownName>horline</se:WellKnownName>
...
</se:Mark>
<se:Rotation>
<ogc:Literal>135</ogc:Literal>
</se:Rotation>
...
</pre>
The rotation is evaluated counter-clockwise with positive values.
Importing the SLD in GeoServer, rotation is evaluated clockwise, so the result is not the same.
I'm not a SLD expert but looking at SLD documentation it seems that rotation should be evaluated clockwise, as in GeoServer.
<pre>
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:Mark>
<se:WellKnownName>horline</se:WellKnownName>
...
</se:Mark>
<se:Rotation>
<ogc:Literal>135</ogc:Literal>
</se:Rotation>
...
</pre>
The rotation is evaluated counter-clockwise with positive values.
Importing the SLD in GeoServer, rotation is evaluated clockwise, so the result is not the same.
I'm not a SLD expert but looking at SLD documentation it seems that rotation should be evaluated clockwise, as in GeoServer.