Skip to main content
Solved

Neighborhood Aggregating polylines in 3D

  • February 23, 2018
  • 1 reply
  • 8 views

Forum|alt.badge.img

I want to group polylines together depending on x, y and z. Neighborhood Aggregator only seems to take into account XY. The 2D perspective snip shows the lines in 2D. Neighborhood groups polylines together regardless in they are far apart in 3D (as the second snip shows).

Best answer by whkarto

Hi @kyle_d_wade,

I don't think that there is an out of the box transformer that could handle your task, but you can use the NeighborAggregator with help of the Group By parameter.

Fetch Z coordinate of first and/or last vertex of your lines, classify them to distinguish between different height levels and use this classification attribute as Group By. Doing so should be able to prevent merging lines on different height levels.

View original
Did this help you find an answer to your question?

1 reply

whkarto
Contributor
Forum|alt.badge.img+14
  • Contributor
  • Best Answer
  • February 23, 2018

Hi @kyle_d_wade,

I don't think that there is an out of the box transformer that could handle your task, but you can use the NeighborAggregator with help of the Group By parameter.

Fetch Z coordinate of first and/or last vertex of your lines, classify them to distinguish between different height levels and use this classification attribute as Group By. Doing so should be able to prevent merging lines on different height levels.


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