Skip to main content
Solved

Identify similar lines between two networks

  • December 6, 2018
  • 4 replies
  • 194 views

djmcdermott
Contributor
Forum|alt.badge.img+6

Hi FME'ers,

I have two network datasets, one for all streets and one for footpaths only. There are instances where the footpath and the streets follow a similar path. This is never exact and they often weave around each other, intersecting each other at multiple points. I need to find a way of identifying sections where the street network and footpaths are similar. The goals is to reconcile their geometries but the decison over which geometry take precedent is not mine to make.

I have attached an example. The green is the street network and the turquoise is the footpath.

Thanks,

David

Best answer by daveatsafe

Hi @djmcdermott,

The FME Hub transformer FuzzyParallelLineFinder should be able to find the matching sections of lines for you.

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

4 replies

ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • December 6, 2018

I would try buffering your road lines to create areas, then using these areas to clip the paths. Deaggregate the output and then keep only lines that are a significant length. What you should be left with are path segments that are running along/alongside the roads.

I wouldn't expect a perfect outcome from the above, looking at the sample data, but should be a start. Will probably require some trial and error with how much to buffer by.


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • December 6, 2018

Hi @djmcdermott,

The FME Hub transformer FuzzyParallelLineFinder should be able to find the matching sections of lines for you.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • December 6, 2018

@djmcdermott

 

Chop the lines of the datasets by 2. Extract ortientation.

Neighborfinder or Buffer at relevant tolerance.

 

Compare orientation. Keep those within some tolerance.


djmcdermott
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • December 13, 2018
daveatsafe wrote:

Hi @djmcdermott,

The FME Hub transformer FuzzyParallelLineFinder should be able to find the matching sections of lines for you.

This works pretty well. There are a few false positives and not all the lines get line_id's but it works.


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