<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create centreline from a polygon in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739320#M19618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I has studied these IPoint's ConstrainAngle and ConstrainDistance methods but don't know how to use these methods to compute the centreline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you mind tell me how do you use these methods to compute the centreline?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Sham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 05:29:24 GMT</pubDate>
    <dc:creator>GarySham</dc:creator>
    <dc:date>2011-01-24T05:29:24Z</dc:date>
    <item>
      <title>Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739312#M19610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a suggestion to me for this project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a suggestion for how to implement those concepts in ArcMap?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any sample script or algorithm I can refer to as reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Development language: C#, VB.Net&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS : ArcMap 9.3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Sham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 02:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739312#M19610</guid>
      <dc:creator>GarySham</dc:creator>
      <dc:date>2011-01-19T02:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739313#M19611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear all, &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Does anyone have a suggestion to me for this project?&lt;BR /&gt;Does anyone have a suggestion for how to implement those concepts in ArcMap?&lt;BR /&gt;Is there any sample script or algorithm I can refer to as reference?&lt;BR /&gt;&lt;BR /&gt;Development language: C#, VB.Net&lt;BR /&gt;ArcGIS : ArcMap 9.3.1&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Gary Sham&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=15481"&gt;http://arcscripts.esri.com/details.asp?dbid=15481&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 03:54:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739313#M19611</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-19T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739314#M19612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Venkat Tammineni.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any idea about this ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any idea about this ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Sham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 04:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739314#M19612</guid>
      <dc:creator>GarySham</dc:creator>
      <dc:date>2011-01-19T04:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739315#M19613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you Venkat Tammineni.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;Do you have any idea about this ??&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;Do you have any idea about this ??&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Gary Sham&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You may not directly ...but some how...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ian-ko.com/resources/howto.htm"&gt;http://www.ian-ko.com/resources/howto.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ian-ko.com/ET_GeoWizards/UserGuide/createCenterlines.htm"&gt;http://www.ian-ko.com/ET_GeoWizards/UserGuide/createCenterlines.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.crwr.utexas.edu/gis/archydrobook/DataModelFiles/Tutorial/ArcHydroPart1.htm"&gt;http://www.crwr.utexas.edu/gis/archydrobook/DataModelFiles/Tutorial/ArcHydroPart1.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 05:18:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739315#M19613</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-19T05:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739316#M19614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do anyone have ideas how to implement it or&amp;nbsp; sample code/algorithm for reference ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I find out some concepts (�??Medial Axis�?�, �??Skeleton�?�......) but have no idea how to implement it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Sham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739316#M19614</guid>
      <dc:creator>GarySham</dc:creator>
      <dc:date>2011-01-19T06:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739317#M19615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you for your suggestion.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Do anyone have ideas how to implement it or&amp;nbsp; sample code/algorithm for reference ?&lt;BR /&gt;&lt;BR /&gt;I find out some concepts (�??Medial Axis�?�, �??Skeleton�?�......) but have no idea how to implement it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gary Sham&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check below thread it may help you...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=992&amp;amp;t=83405"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=992&amp;amp;t=83405&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 07:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739317#M19615</guid>
      <dc:creator>Venkata_RaoTammineni</dc:creator>
      <dc:date>2011-01-19T07:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739318#M19616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, I have searched the esri forum before and find out some related posts. However, they are not very useful in my project. Therefore, I post a new post here to ask anyone for suggestions and ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.esri.com/Thread.asp?c=93&amp;amp;f=992&amp;amp;t=83405" rel="nofollow" target="_blank"&gt;http://forums.esri.com/Thread.asp?c=93&amp;amp;f=992&amp;amp;t=83405&lt;/A&gt;&lt;SPAN&gt;" seem not useful as it talk about how to construct a line perpendicular to centreline but not talk about how to from a centreline.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also gone through&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=71339&amp;amp;mc=13#msgid190020"&gt;http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=71339&amp;amp;mc=13#msgid190020&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=71339&amp;amp;mc=13#190147"&gt;http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=71339&amp;amp;mc=13#190147&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=76045"&gt;http://forums.esri.com/Thread.asp?c=3&amp;amp;f=38&amp;amp;t=76045&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 05:51:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739318#M19616</guid>
      <dc:creator>GarySham</dc:creator>
      <dc:date>2011-01-20T05:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739319#M19617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try IPoint's ConstrainAngle and ConstrainDistance methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On first thought that's where I would start in calculating the vertices of the center line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jan 2011 14:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739319#M19617</guid>
      <dc:creator>BradChappell</dc:creator>
      <dc:date>2011-01-20T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739320#M19618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I has studied these IPoint's ConstrainAngle and ConstrainDistance methods but don't know how to use these methods to compute the centreline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you mind tell me how do you use these methods to compute the centreline?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary Sham&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 05:29:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739320#M19618</guid>
      <dc:creator>GarySham</dc:creator>
      <dc:date>2011-01-24T05:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739321#M19619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gary,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the ArcGIS hydrologic flow models within point-density-rasters (or after the PDR is flipped upside down) to find medial axis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could form a point-density-raster (PDR) of all intersecting lines, where each line connects a pair of vertexes along the polygon perimeter, then apply a flow model for this PDR flipped upside down to find the "streams" that are candidates for the medial axis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds tedius but software to form this simple geometry (then threshold everything) could be written.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this suggestion helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roger&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 15:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739321#M19619</guid>
      <dc:creator>RogerBrown</dc:creator>
      <dc:date>2011-02-03T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create centreline from a polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739322#M19620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you need a quick fix to this issue, I figured one out.&amp;nbsp; You have a polygon that's equally distant along its length from side to side, and you need a centerline quickly.&amp;nbsp; Convert the polygon to a line, then do a buffer on one of the sides, then trim as needed.&amp;nbsp; This is mainly for a long polygon like a ROW or road segment.&amp;nbsp; Some of the other tools didn't work for me.&amp;nbsp; I basically had a ROW segment, very long and 100' across.&amp;nbsp; It winds so much that moving a side wouldn't work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 20:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-centreline-from-a-polygon/m-p/739322#M19620</guid>
      <dc:creator>MilesLoretta</dc:creator>
      <dc:date>2011-05-20T20:26:04Z</dc:date>
    </item>
  </channel>
</rss>

