Skip to main content
Solved

Neighborhood Aggregating polylines in 3D

  • February 23, 2018
  • 1 reply
  • 13 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.

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.

1 reply

whkarto
Contributor
Forum|alt.badge.img+14
  • Contributor
  • 58 replies
  • 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.