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:
I've used ET GeoWizards' "Create Centerlines" tool to do this with some success, but it has a few drawbacks:
Another approach is to rasterize your polygons and use the Thin tool. You will need the Spatial Analyst extension. This will require post thinning editing and you playing around with the width parameter. This technique probably works best for small areas due to the requirement to edit the final output. But it does generate the medial axis...
There is this tool as part of production mapping: Polygon To Centerline—Topographic Production toolbox | ArcGIS Desktop
and there is this support page, but it involves manually editing the layer before applying the tool Collapse Dual Lines To Centerline (not available in Pro yet and requires Advanced license in ArcMap) see How To: Create centerlines from polygon features
I just tried using the tool mentioned by Ted Kowal :
... and the Collapse Dual Lines To Centerline tool that I mentioned
... but neither seems to be a good solution if your data really looks like that (it's very irregular).