Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rotation and offset on labels #38

Open
jodygarnett opened this issue Jan 14, 2020 · 3 comments
Open

rotation and offset on labels #38

jodygarnett opened this issue Jan 14, 2020 · 3 comments

Comments

@jodygarnett
Copy link
Contributor

report:

rotation is not in geostyler
offset is actually available in geostyler and sld, however geoserver seems to use different unit (and different direction)

Checking:

Symbology Encoding 1.1
The Rotation of a PointPlacement gives the clockwise rotation of the label in degrees from the normal direction for a font (left-to-right for Latin-derived human languages at least). Rotation is formally defined in Subclause 11.3.2.

GeoTools data structure:

@jodygarnett
Copy link
Contributor Author

We would need to double check if rotation is implemented, but the SE 1.1 standard, and geotools data structure support the idea.

@jodygarnett
Copy link
Contributor Author

And rotation is documented in the user manual, https://docs.geoserver.org/latest/en/user/styling/sld/reference/labeling.html#rotation

@volaya
Copy link
Contributor

volaya commented Jan 26, 2020

Rotation for labels is supported already. There is even a test style to test it.

@jodygarnett Maybe it would be a good idea to have the library add a comment with the version that has produced the sld, since it looks like we are getting some false issues for using older versions...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants