Skip to main content
Question

Add vertexes along lines

  • September 15, 2014
  • 4 replies
  • 322 views

Forum|alt.badge.img
Dear FME community,

 

 

I want to add new points (vertexes) to a line. For example:

 

 

I have a line of 100 meters with two points (start point and end point). I want to add 9 new points, so that the line gets new vertexes every ten metres. Is this possible in FME "out of the box", or do I new Python for that? The VertexCreator seems to be the right tool, but how can I tell it to add a point in a regular intervall (I do not have list with the new coordinates).

 

 

Kind regards from Germany

 

Thomas

4 replies

takashi
Influencer
  • September 15, 2014
Hi Thomas,

 

 

If the line always has only 2 nodes (start and end), the Densifier transformer might help you.

 

Just be aware the transformer has two different modes (Exact / Uniform Interval). It depends on your requirement which of them should be applied.

 

 

Takashi

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 15, 2014
Hi,

 

 

Take a look at the cloner/snipper solutions offered in this thread:

 

 

https://safecommunity.force.com/CommunityAnswers?id=906a0000000csdWAAQ

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 15, 2014
Ah,

 

 

did'nt know they now have a transformer for it..lol.

 

Well, at least for interval types.

 

 

No table based densification i see...tsktsk..ommision.

takashi
Influencer
  • September 15, 2014
The densifying by the Densifier will be performed for each segment in a line. Therefore, the Densifier may not work as expected if the input line could be a polyline that consists of 3 or more vertices.

 

In such a case, see the thread that Gio suggested.

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