Skip to main content
Question

Line Direction


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

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+18
  • 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+18
  • 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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings