Skip to main content
Solved

Filtering based on geometries


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Hello. I have a question about one solution. I have duplicate points with the same name, but with at least different geometry. I need to filter these duplicate points relative to this one coordinate. Passed will be the point with the same name that is closer to this coordinate. I am attaching the fmwt. Thank you very much.

Best answer by DanAtSafe

Hi @fmesafe.podpora​ What is the name that should match? Will a NeighborFinder work for you? Group by the name, generate a list, then sort by _distance with a ListSorter.

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

3 replies

DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • Best Answer
  • April 18, 2023

Hi @fmesafe.podpora​ What is the name that should match? Will a NeighborFinder work for you? Group by the name, generate a list, then sort by _distance with a ListSorter.


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Hi @danatsafe​  Thanks for the reply. I have point names that cannot occur more than once - attachment points_duplicity. I need to filter these points with the same name so that only one of them is output (the one that is closer to the created point - the output of the vertexCreator transformer). For example (in the attachment):

Point A1 and point A1 have the same designator (they have a duplicate name). Of these two points, only the one closer to the created point will be valid.

I need the same method for all 80 points - the point created is still the same.

I tried neighborFinder but _distance is the same for duplicate points - in fmwt.


fmesafe.podpora
Contributor
Forum|alt.badge.img+11
DanAtSafe wrote:

Hi @fmesafe.podpora​ What is the name that should match? Will a NeighborFinder work for you? Group by the name, generate a list, then sort by _distance with a ListSorter.

Hello DanAtSafe. I would like to ask, do you know how to solve the situation? I have tried to add more information below.

Thank you very much


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