Skip to main content
Solved

How to get matched feature(s) from NeighborFinder?


Forum|alt.badge.img

I have a point (base) and a list of lines (candidates). a nearest line is found using NeighborFinder. it seems that the result from "matched" port does not have geometry of matched lines (the candidates). Any suggestions?

Best answer by daveatsafe

Hi @george,

Please add a GeometryExtractor before the NeighborFinder to extract the Candidate geometry into an attribute. After the NeighborFinder, you can use a GeometryReplacer to replace the Base geometry with the line geometry from that attribute.

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

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • July 24, 2018

Hi @george,

Please add a GeometryExtractor before the NeighborFinder to extract the Candidate geometry into an attribute. After the NeighborFinder, you can use a GeometryReplacer to replace the Base geometry with the line geometry from that attribute.


Forum|alt.badge.img
  • Author
  • July 24, 2018

@takashi

I learned a lot from your posts. Hope you could give me a quick help on this.

Suggestions from anyone are very much appreciated!


Forum|alt.badge.img
  • Author
  • July 24, 2018

Thank Dave!


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