Skip to main content
Question

Help with Neighborfinder Transformer

  • January 13, 2026
  • 1 reply
  • 31 views

fme_arc4
Contributor

hi everyone!

 some of my line features (ex. pipes) have text features floating above (top left) of the line, describing what type of pipe it is. I want to add that text as an attribute field to that feature. but also not all of the lines have one and I want it to only match if it's describing that feature (not grabbing a random text field nearby). This is my workflow so far, with some brief descriptions. I'll also note that everytime I've tried to use neighborfinder, the autocad_text_string AND fme_text_string values of certain lines show numbers (ex. 356.77, 623.44) instead of the descriptive text it should have shown. im guessing those are possible distance values it’s grabbing….

I've been trying this for hours and would appreciate any help given. thanks in advance! my workflow is attached below.

1 reply

evieatsafe
Safer
  • Safer
  • February 2, 2026

Hi ​@fme_arc4 thank for your question! I think you posted the same question here too? I think the NeighborFinder is a fine solution with a refinement on your distance tolerance based on where the text is. If you reliably know where the text will be placed in relation to the pipe you could also do a workflow where you use a Bufferer to buffer the pipe by distance that you know will make them touch, then use a SpatialRelator to accumulate the text attributes to the line/pipe. 

Regarding your text_string attributes not being what you expect, I would inspect your format attributes from the record information window after reading in your file with data cache enabled to determine what you want to use/join first. This will often clear up what you’re looking for as FME sometimes has different ways of storing that information into attributes that may not be exposed. 

I hope this gives you some ideas! You may want to provide some sample data or more visuals for others to join in as well :)