Skip to main content
Solved

merging and simplifying road network

  • May 26, 2016
  • 1 reply
  • 45 views

I should think this is straight forward but I'm new to FME and hit a wall rather quickly. I have a road network file for the UK. I would like to merge the file on the a single attribute (NAME). However, there are some segments that don't have a value ("null") in the NAME field. I'm trying to merge the "null" records to the nearest segment that has an actual name rather than simply merging all the "null" values together. Then I need to simplify the road network for visualization purposes. Thank you in advance.

Best answer by erik_jan

Getting the NAME from the nearest object on the object with the null NAME can be done using the NeighborFinder. First use the Tester to find all null NAMES and use those as BASE the others (with NAME) as candidates. The name should be copied on the null NAME object.

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.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • Best Answer
  • May 26, 2016

Getting the NAME from the nearest object on the object with the null NAME can be done using the NeighborFinder. First use the Tester to find all null NAMES and use those as BASE the others (with NAME) as candidates. The name should be copied on the null NAME object.