You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
"The Rotation element gives the rotation of a graphic in the clockwise direction about its
center point in decimal degrees, encoded as a floating-point number"
However I've just tried doing a line fill with a rotation of 45, qgis rotated the line clockwise, and exported the value as 45, which is also interpreted as clockwise. Importing it in GeoServer showed instead a counter-clockwise rotation (after "fixing" the symbol name from "horline" to "shape://horline", this is one issue we still have to harmonize between the two projects, along with similar support with rotation in fills, GeoServer does it but adds extra spaces around the line).
I believe the bug is actually on the GeoServer side, closing it here (spoken as a GeoServer developer :-p )
resolution was changed from to not reproducable
status_id was changed from Open to Closed
description was changed from I have a layer style with a PolygonSymbolizer filled with a line pattern fill with a rotation
horline
...
135
...
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. to I have a layer style with a PolygonSymbolizer filled with a line pattern fill with a rotation
horline
...
135
...
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.
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Symbology
Related to vector layer symbology or renderers
labels
May 25, 2019
Author Name: Gabriele Monfardini (@gabrimonfa)
Original Redmine Issue: 16413
Affected QGIS version: master
Redmine category:symbology
I have a layer style with a PolygonSymbolizer filled with a line pattern fill with a rotation
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.
The text was updated successfully, but these errors were encountered: