Skip to main content
Question

How to solve multipart?

  • February 6, 2020
  • 2 replies
  • 59 views

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.

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.

2 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • 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+22
  • Contributor
  • 2179 replies
  • 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.