Skip to main content
Question

Detect and simplify a road network


Is there a way to detect parallel lines in a road network and simplify the parallel segments to one main line as shown in this picture? I've tried this with the FuzzyParallelLineFinder but it didn't work and the performance was very low. Thanks in advance. Steven Loosman

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • November 2, 2018

Hi @stevenloosman

Did you try to use only the transformer NeighborFinder?

 

Could you share us a sample your data?

 

Thanks,

Danilo


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 2, 2018

@stevenloosman

 

Hi Steven,

 

The kines are more like "paralellish".

You could chop the lines 2 vertices. Neighbourfinder set to relevant range.

Compare orientation with some margin.

 

I used this to find "paralellish" lines with First creator sets a 10% margin, the tester tests orientation (neglecting direction)

 

(BTW:I have a attribute rounder between these 2 set to 0 decimals, else it fails. dunno why)

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 2, 2018
gio wrote:

@stevenloosman

 

Hi Steven,

 

The kines are more like "paralellish".

You could chop the lines 2 vertices. Neighbourfinder set to relevant range.

Compare orientation with some margin.

 

I used this to find "paralellish" lines with First creator sets a 10% margin, the tester tests orientation (neglecting direction)

 

(BTW:I have a attribute rounder between these 2 set to 0 decimals, else it fails. dunno why)

 

@stevenloosman

addendum.

Hoek_vs would be line angle. Hoek BB sides the angle of found candidates.

 

Concerning using test "In Range" with attributes.

When you chose this test you can click the dotted icon to choose range attributes.

When you do and exit, it enters an excessive @Evaluate to the string. You need to manualy remove it....

the hh (5th test) in the below pic shows it.


wegen.zip this is a sample of OSM with some parallel roads. regards, Steven


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