Question

Collapse Dual Lines To Centerline

  • 5 November 2018
  • 2 replies
  • 14 views

Badge +11

Hi

do you know if it's possible to replicate the action

Collapse Dual Lines To Centerline in Arcgis also in FME.

 

 

I tried the centerline repacer but it works with polygons but I have lines not poly (and I don't want to convert lines to polygons).

 

 

Can you help me ?

 

 

thx

 

 

Francesco

2 replies

Userlevel 4
Badge +25

My first suggestion would actually be buffering the lines, then dissolving the buffers and generate centerlines from those buffers.

If you really don't want to go that way you can try snapping them but there's a high likelihood of the result not being in the middle.

Another thing you can try is dropping them down to individual points and use the NeighborFinder to find the nearest point from the other line. You then have start and endpoint coordinates of the line connecting those points. Create those lines and then create centerpoints for them and connect the centerpoints.

 

Badge +2

Hi,

If centerline replacer is suffice then you don't need to convert the data to polygons permanently. You can do it on the fly and consider the output as required...

Reply