Skip to main content
Question

How to solve multipart?


Forum|alt.badge.img
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

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • February 6, 2020

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.


erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 6, 2020

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.


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