I have a linestring, and want to draw arrow forward and arrow back in each point except firat and last. Like this enter image description here

I have no problems with first and last point couse i can rotate arrows with startAngle and endAngle. But how can i rotate arrows for other points?


There is no built in function that can do this for you. You can either break your line in to simple segments for the purposes of styling or write your own function (based on StartAngle)

| improve this answer | |
  • Okey, i can slice LineString on segments and return this collection of segments back to style. But i don't understand what i can do with this segments in my sld. – Kliver Max Aug 22 '18 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.