Skip to main content
Question

Line Direction

  • March 8, 2013
  • 5 replies
  • 888 views

We have a need to determine the direction in which a line is drawn.  This is importand because some of our line features are custom line styles that when drawn on a map signify certain attributes.  As an example the symbols for Cliffs, Rocks and Depression Contours indicate the low side (elevation) of the terrain.

 

 

Each of these features have certain rules pertaining to how they are to be drawn (west to east, clockwise etc).

 

 

Is there a transformer or FME attribute that can help us determine if the feature is drawn correctly? 

 

 

Cheers,

 

 

Russell
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

david_r
Celebrity
  • March 8, 2013
Hi Russell,

 

 

have a look at the OrientationExtractor and the Orientor transformer.

 

 

David

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • March 8, 2013
Hi,

 

Optionally the PolylineAnalyzer can also be of use for this case.

  • Author
  • March 10, 2013
Itay and David,

 

 

Thanks for the help.  One question for Itay, I don't have the PolylineAnalyzer in my transformer library.  I'm running FME 2012 SP2 build 12238 win64. 

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • March 11, 2013
Hi Russel,

 

 

The PolylineAnalyzer is a FME store transformer, start by typing the name on the canvas to download it.

 

The combination of angle and azimuth might provide you with the information tou need.

 

Hope this helps

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 10, 2013
U can use azimuthcalculator and then test wich quadrant the angle lies in

 

Basic goniometry