How to find the center line of a polygon?

Discussion created by vufalo1995 on Nov 20, 2017
Latest reply on Feb 15, 2018 by xander_bakker

I need to obtain the axes of a road as they appear in the image, so that they reach the end of the street, with the resulting axis being the longest in the polygon.


I have already tried with the tool "Collapse Dual to Centerlines", using the "PolygonToCenterline (Skeleton)" and there is no way to get it.


Please, if someone could help me, I would greatly appreciate it. Thank you.


I attach an example image with the results I want to obtain. The orange polygon would be the surface of the road and the yellow line would be the axis of the street: