Select to view content in your preferred language

Create centreline from a polygon

10483
10
01-18-2011 06:28 PM
GarySham
Emerging Contributor
Dear all,

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

Best regards,
Gary Sham
0 Kudos
10 Replies
MilesLoretta
Occasional Contributor
If you need a quick fix to this issue, I figured one out.  You have a polygon that's equally distant along its length from side to side, and you need a centerline quickly.  Convert the polygon to a line, then do a buffer on one of the sides, then trim as needed.  This is mainly for a long polygon like a ROW or road segment.  Some of the other tools didn't work for me.  I basically had a ROW segment, very long and 100' across.  It winds so much that moving a side wouldn't work.
0 Kudos