Skip to main content
Solved

Create a point on the line according to the distance from the beginning of the path.

  • December 21, 2017
  • 2 replies
  • 166 views

I have the geometry of the route. And a list of stops on it. The length of the path to each of the stops is known.

 

How do I create a point with this data?

 

 

In total my task is to apply Z to my 2D route. I have Z for each stop and a route-based distance. As I can understand TopologyBuilder can accumulate that in one 3D route, but do not know how to create that points or how to get XY for them.

 

 

Thanks for any hint!

Best answer by erik_jan

I would use the Snipper transformer to create a line segment with the specified length from the beginning of the line.

The CoordinateExtractor (index -1) will get you the X and Y coordinates of the required point.

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • December 21, 2017

I would use the Snipper transformer to create a line segment with the specified length from the beginning of the line.

The CoordinateExtractor (index -1) will get you the X and Y coordinates of the required point.


  • Author
  • December 21, 2017

I would use the Snipper transformer to create a line segment with the specified length from the beginning of the line.

The CoordinateExtractor (index -1) will get you the X and Y coordinates of the required point.

thanks! that's is