Skip to main content
Question

Detect and simplify a road network

  • November 1, 2018
  • 4 replies
  • 80 views

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

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.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • 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
  • 2252 replies
  • 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
  • 2252 replies
  • 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)

 

@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.


  • Author
  • 6 replies
  • November 2, 2018

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