Question

Create a Line from Points

  • 9 April 2014
  • 1 reply
  • 5 views

Userlevel 4
Badge +13
Hi,

 

Silly question, how do I create lines from points?

 

Using 2014 SP1 there's the new VertexCreator, but when I send it a series of features (using "add Point") it turns them from "Null" into "point". Which is fine.

 

Except I want to join some of those points together into Lines - they'll need to be grouped by a shared attribute.

 

 

I'm sure I'm missing something, this strikes me that it should be very simple. Last year I created a transformer (looping required) that builds a line from a list of vertices - isn't there a better way?

 

Cheers,

 

Jonathan

1 reply

Userlevel 4
Hi,

 

 

try the PointConnector with a Group By on the shared attribute.

 

 

Be aware that the points will be connected in the order they enter the Transformer. There is more info about this in the help. (Hint: Sorter)

 

 

David

Reply