span8
span4
span8
span4
This seems really simple but I cannot figure it out.
I have a linear feature connected to a point with a triangle on the line which shows the direction. How can I determine if the line is headed away from or towards the point? I need to know if the triangle follows the line to the point, I have other ones I need to check that will not be a straight line to the point.
Thank you in advance!
I'm not sure if I understand your question correctly, are you looking to find the direction of the line between the point and the triangle? Or to check that the triangle or arrow is pointed in the right direction?
It may also be helpful to share a sample of your data and what you are looking to do with it. Thanks!
- Jovita
Using the CoordinateExtractor transformer, you can get the coordinates of the start of the line using index 0.
The PointonLineOverlayer can transform those attributes (start X and Y of the line) on the point.
If the start X and Y of the line match the coordinates of the point, the line moves away from the point, if not the line moves towards the point.
Hope this helps.
Data loss converting GML to 3dtiles2 Answers
Data transformations and drawing error to be corrected in DWG files on FME 20180 Answers
Find the Total Production (total sum) with 40 years of monthly data.2 Answers
fme fills polygons and circles1 Answer
Make line based on distance from single point, and change direction4 Answers
© 2020 Safe Software Inc |Legal