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

Orientation/Flow arrows #8

Open
mpdaly opened this issue Oct 30, 2018 · 2 comments
Open

Orientation/Flow arrows #8

mpdaly opened this issue Oct 30, 2018 · 2 comments
Assignees

Comments

@mpdaly
Copy link
Contributor

mpdaly commented Oct 30, 2018

The orientation attribute is defined in the Technical Specification as "tenths of a degree anticlockwise from due east".

The GeoServer SLDs have a flow arrow SVG that points from right to left, and use orientation * 0.1. An orientation of 0 would imply drawing the symbol as defined, with no rotation, ie due west.

The Cartographic Style Definitions have a flow arrow that points from left to right.

These seem to be contradictory. Can you confirm which is correct?

@egil1978
Copy link
Contributor

Hi Martin, sorry for the lateness in my reply. The specification is correct but the SLD needs to be amended to address this. Ill update the SLD as soon as possible. Thanks.

@egil1978
Copy link
Contributor

As you say the SVG for the flow arrow draws from right to left when it should point left to right. To combat this and ensure the arrow points the right way the expression within the SLD needs to read 90 - "orientation" / 10.

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