Question

Distance from start of segment


Hello everyone, this is my first time writing in the Forum, by the way I am coming to you for a little problem on FME.

 

To get you up to speed, I have two layers:

- Road network: consists of several numbered segments.

- Point layer that represents the camera location.

 

After the application of Anchored snapper in order to attach the camera positions on my road network, my goal is to assign to each entity of the attached point layer, the distance from the origin of the segment on which is attached of the road network, please find attached an image by which I have tried to present my problem, thank you in advance for your help.

 

Link Image: https://www.zupimages.net/viewer.php?id=21/25/1sxs.png


2 replies

Badge +20

Use MeasureGenerator on the lines then use PointOnLineOverlayer with Merge Measures set to Yes to get the value of your measure (distance from start of line), folowed by MeasureExtractor set to Type: Point to extract the value to an attribute.

Use MeasureGenerator on the lines then use PointOnLineOverlayer with Merge Measures set to Yes to get the value of your measure (distance from start of line), folowed by MeasureExtractor set to Type: Point to extract the value to an attribute.

thank you sir for your help, it worked perfectly 👍

Reply