|
Go Sato created an issue |
Issue Type: |
|
---|---|
Affects Versions: |
2.9-RC1 |
Assignee: |
Unassigned |
Components: |
WMS |
Created: |
24/May/16 7:08 PM |
Environment: |
Amazon Linux (Linux version 4.1.17-22.30.amzn1.x86_64 (mockbuild@anonymised.com)) |
Priority: |
|
Reporter: |
I have recently started using GeoServer 2.9 RC1 to present a traffic network using the shiny PerpendicularOffset feature of LineSymbolizer. Each link (road section) in the network dataset has two features, identical in shape, opposite in direction. I am using perpendicularoffset to split the lines and present the traffic flows in a left-side traffic system (Vehicles run on the left side of the roads in my country). The following documatation says the parameter shifts the lines to the left side. However, it seems to me that when positive perpendicular offset was given, the lines are shifted to the right side of the roads and negative shifts them to the left side. (right means the right when viewed from the startpoint towards the endpoint of each line) So, if I set a linesymbolizer with perpendicularoffset = 5 and then apply a textsymbolizer with forceLeftToRight = false and perpendicularoffset = 10 to the same dataset, the lines come to the right of the roads and the labels left. I had to set the linesymbolizer’s perpendicularoffset to -5 to make both come on the same side of the roads. (ie. positive and negative in perpendicularoffset behaves differently between linesymbolizer and textsymbolizer) I think the documentation is a bit confusing. Perhaps more accurate wording? Kind regards, |
This message was sent by Atlassian JIRA (v1000.5.2#72002-sha1:b4422fe) |
|