Skip to main content
Solved

How to get matched feature(s) from NeighborFinder?

  • July 24, 2018
  • 3 replies
  • 23 views

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.

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.

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • 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
  • 6 replies
  • 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
  • 6 replies
  • July 24, 2018

Thank Dave!