Question

How to solve multipart?

  • 6 February 2020
  • 2 replies
  • 11 views

Badge
Hello!

 

I want to make a filter for those lines that intersect a point. The lines know which point they intersect, but some of the lines doesn't insersect physically the lines. For those I want to make a filter.


2 replies

Badge +22

I'm not sure I understand exactly what you mean by "The lines know which point they intersect ", but as a general test either a spatialFilter or spatialRelator will tell you which lines (don't) intersect points.

If you want to know how far away the point they are supposed to intersect is, you can use a NeighborFinder instead.

Userlevel 2
Badge +16

If you mean that the lines and points have an attribute in common, you can use the Aggregator transformer (group by that attribute) to create multipart geometries.

Then the AggregateFilter transformer will show you the multipart features as opposed to the single points or lines.

Hope this helps.

Reply