Skip to main content
Question

Best way to complete gaps in a line network using other layers in FME

  • April 14, 2026
  • 1 reply
  • 37 views

gyorgy.papp
Participant
Forum|alt.badge.img+9

Hi everyone,

I’m working with a line layer (see attached image) where some segments are missing. These missing parts actually exist in other layers, and my goal is to “fill in” or reconstruct the complete network by integrating those segments.

In other words, I have:

  • A primary line layer with gaps
  • Additional layers that contain the missing line segments

What would be the best approach in FME to identify and merge these missing sections into the main layer?
I’m especially interested in workflows or transformers that can help match and connect these geometries properly (e.g. snapping, merging, or topology-based methods).

I’ve attached a second image showing the layer that contains the missing parts.

Any suggestions or best practices would be greatly appreciated!

Thanks in advance.

 

 

 

1 reply

raghavendrans
Enthusiast
Forum|alt.badge.img+21

@gyorgy.papp 

What you’re trying to do is a classic network reconstruction / gap-filling problem in FME Form, and there are a few solid approaches depending on how clean your data is. The key steps are: normalize → detect gaps → match candidates → snap/merge → rebuild topology.

Here is a quick outline of the workflow:

  • Normalize all linework (Reproject if needed, break them into similar size segments etc.)
  • Identify gaps (dangling endpoints)
  • Find matching segments from other layers
  • Snap and connect geometries
  • Merge into continuous lines
  • Topology cleanup

Hope this throws some light.

Cheers

SRG