This question already has an answer here:

I am working on a project to create a centerline from a polygon automatically. The user select a polygon and click a button, the centerline will create for him.

I have tried the build-in function “Collapse Dual Lines to Centerline”, but it cannot perform well so I decide not use this function in this project. In further study, I find out some terms such as “Medial Axis”, “Skeleton”, “Voronoi polygon”, those are some concepts related to centerline formation. However, I find difficult to understand those algorithm.

Does anyone have a suggestion to me for this project? Does anyone have a suggestion for how to implement those concepts in ArcMap? Is there any sample script or algorithm I can refer to as reference?

Development language: C#, VB.Net ArcGIS : ArcMap 9.3.1

marked as duplicate by PolyGeo Aug 3 '16 at 6:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Have a look at Find Tunnel Center Line.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.