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
Thank you Venkat Tammineni.
The sample software just focus on point layer, but I would like to use the polygon as a input data and generate a centerline for it.
Do you have any idea about this ??
I read some paper about �??Medial Axis�?�, �??Skeleton�?� and seem they are useful concept in this project. However, I cannot understand their algorithm and don't how to implement it.
Do you have any idea about this ??
Regards
Gary Sham
Thank you for your suggestion.
I know there are some existing tools in the market can perform similar function. However I don't have resource to buy this tools and I cannot modify these tools. So I would like to implement it and fit to my project use.
Do anyone have ideas how to implement it or sample code/algorithm for reference ?
I find out some concepts (�??Medial Axis�?�, �??Skeleton�?�......) but have no idea how to implement it.
Regards,
Gary Sham