<?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>idea Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool in ArcGIS Production Mapping Ideas</title>
    <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idi-p/1326193</link>
    <description>&lt;P&gt;It would be nice to have&amp;nbsp;{&lt;STRONG&gt;Snap_to_Mid_Point&lt;/STRONG&gt;} Option to &lt;STRONG&gt;Polygon To Centerline Tool&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated road centerlines from dissolved road polygons. I've observed that some centerlines are snapped to the &lt;STRONG&gt;corner&lt;/STRONG&gt; of dead-end roads, while others are snapped to the &lt;STRONG&gt;midpoints&lt;/STRONG&gt;. This behavior persists regardless of whether I set {&lt;STRONG&gt;connecting_features&lt;/STRONG&gt;} as the dissolved road polygons.&lt;/P&gt;&lt;P&gt;Here is an example:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Polygon_To_CenterLine_Capture.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80038iACD22967FBF0E2AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Polygon_To_CenterLine_Capture.png" alt="Polygon_To_CenterLine_Capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 13:40:58 GMT</pubDate>
    <dc:creator>WentaoChe</dc:creator>
    <dc:date>2023-09-08T13:40:58Z</dc:date>
    <item>
      <title>Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idi-p/1326193</link>
      <description>&lt;P&gt;It would be nice to have&amp;nbsp;{&lt;STRONG&gt;Snap_to_Mid_Point&lt;/STRONG&gt;} Option to &lt;STRONG&gt;Polygon To Centerline Tool&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have generated road centerlines from dissolved road polygons. I've observed that some centerlines are snapped to the &lt;STRONG&gt;corner&lt;/STRONG&gt; of dead-end roads, while others are snapped to the &lt;STRONG&gt;midpoints&lt;/STRONG&gt;. This behavior persists regardless of whether I set {&lt;STRONG&gt;connecting_features&lt;/STRONG&gt;} as the dissolved road polygons.&lt;/P&gt;&lt;P&gt;Here is an example:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Polygon_To_CenterLine_Capture.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80038iACD22967FBF0E2AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Polygon_To_CenterLine_Capture.png" alt="Polygon_To_CenterLine_Capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 13:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idi-p/1326193</guid>
      <dc:creator>WentaoChe</dc:creator>
      <dc:date>2023-09-08T13:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326334#M12</link>
      <description>&lt;P&gt;Along with this Idea, why doesn't GIS offer to snap perpendicular to a line or feature. This would allow to draw a line segment or get a distance measurement perpendicular to a line or feature.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 12:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326334#M12</guid>
      <dc:creator>PatrickAllen3</dc:creator>
      <dc:date>2023-09-07T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326597#M13</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1475"&gt;@WentaoChe&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;This is a Topographic Production tool, but unfortunately our Ideas system does not offer that as a label, so I will act as a go-between to that development team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This enhancement was submitted last year but marked as a known limitation by the development team as of this year:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/bug/the-line-endpoints-output-from-the-polygon-to-centerlin-bug-000146471" target="_blank"&gt;https://support.esri.com/en-us/bug/the-line-endpoints-output-from-the-polygon-to-centerlin-bug-000146471&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have marked this Idea as Needs Clarification, to see if the workaround provided by the development team can satisfy your request.&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Make a copy of the input features.&lt;/LI&gt;&lt;LI&gt;Measure the width of the polygon.&lt;/LI&gt;&lt;LI&gt;Launch the Densify geoprocessing tool and use half the width of the polygon for the Distance parameter.&lt;/LI&gt;&lt;LI&gt;Launch the Polygon To Centerline geoprocessing tool and use the densified features for the Input Features parameter.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 07 Sep 2023 21:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326597#M13</guid>
      <dc:creator>DrewFlater</dc:creator>
      <dc:date>2023-09-07T21:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326715#M14</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1125"&gt;@DrewFlater&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's always nice to receive your help and advice.&lt;/P&gt;&lt;P&gt;I followed the 4 steps &lt;SPAN&gt;provided by the development team&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;1. Make a copy of the input features.&lt;BR /&gt;2. Measure the width of the polygon.&lt;BR /&gt;3. &lt;STRONG&gt;Densify&lt;/STRONG&gt; the dissolved road polygons with the Distance of &lt;STRONG&gt;2 meters&lt;/STRONG&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The data size increased from 5.96MB to 34.34MB, and the processing time increased from 3 minutes to 13 minutes. Considering that the total number of polygons is &lt;STRONG&gt;129,222&lt;/STRONG&gt;, it's still much faster than I expected. Great job!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;4. Launch the &lt;STRONG&gt;Polygon To Centerline&lt;/STRONG&gt;&amp;nbsp;tool and use the densified road polygons.&lt;/P&gt;&lt;P&gt;The results are &lt;STRONG&gt;excellent&lt;/STRONG&gt;! Most of the centerline endpoints are positioned at the &lt;STRONG&gt;centers&lt;/STRONG&gt; rather than the corners. Thank you very much!&lt;/P&gt;&lt;P&gt;Here is an axample:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Polygon_To_CenterLine_Capture_New.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80183iB415D6EEBE3D11EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Polygon_To_CenterLine_Capture_New.png" alt="Polygon_To_CenterLine_Capture_New.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 10:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326715#M14</guid>
      <dc:creator>WentaoChe</dc:creator>
      <dc:date>2023-09-08T10:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326764#M15</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1475"&gt;@WentaoChe&lt;/a&gt;&amp;nbsp;It's great to see that densifying the input polygons produced a better result. I'm curious whether you see a different result on the original data if you run the Collapse Hydro Polygon tool:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/cartography/collapse-hydro-polygon.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/cartography/collapse-hydro-polygon.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 13:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326764#M15</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-09-08T13:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326803#M16</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you very much for pointing out the &lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt; tool!&lt;/P&gt;&lt;P&gt;I run it on the original data set and compare the results with the densified polygons. Here are my findings as following:&lt;/P&gt;&lt;P&gt;1. It's incredibly &lt;STRONG&gt;fast&lt;/STRONG&gt;! The process took only 1 minute and 48 seconds for 129,222 original road polygons. In comparison, the Polygon To Centerline tool took 2 minutes and 54 seconds for the dissolved road polygons (not Densified).&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt; tool created more centerlines which were positioned to corners other than the centers of road polygons compared to the&amp;nbsp;&lt;STRONG&gt;Polygon To Centerline&lt;/STRONG&gt; tool.&lt;/P&gt;&lt;P&gt;3. The &lt;STRONG&gt;Polygon To Centerline&lt;/STRONG&gt; tool created better centerlines in the intersections than&amp;nbsp;the &lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;tool&amp;nbsp;&lt;STRONG&gt;did.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I will dedicate more time to learning the Collapse Hydro Polygon tool going forward.&lt;/P&gt;&lt;P&gt;I will try &lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;tool for the 2 meter densified road polygons later. Thank you again!&lt;/P&gt;&lt;P&gt;Here is an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Polygon_To_CenterLine_Capture_3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80203i88C90F8B44C2BBAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Polygon_To_CenterLine_Capture_3.png" alt="Polygon_To_CenterLine_Capture_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 15:07:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326803#M16</guid>
      <dc:creator>WentaoChe</dc:creator>
      <dc:date>2023-09-08T15:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326832#M17</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;After densifying the original 129,222 road polygons by 2 meters, the results significantly improved compared to without densification.&lt;/P&gt;&lt;P&gt;Here are my steps to create the centerlines from the road polygons.&lt;/P&gt;&lt;P&gt;1. Launch the &lt;STRONG&gt;Densify&lt;/STRONG&gt; geoprocessing tool on the original road polygons, setting the distance to 2 meters.&lt;/P&gt;&lt;P&gt;2. Use the &lt;STRONG&gt;Select&lt;/STRONG&gt; tool to extract the non-intersection road polygons.&lt;/P&gt;&lt;P&gt;3. Launch the &lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt; tool to generate centerlines for non-intersection road polygons.&lt;/P&gt;&lt;P&gt;4. Use the &lt;STRONG&gt;Select&lt;/STRONG&gt; tool again to extract the intersections within the road polygons.&lt;/P&gt;&lt;P&gt;5. Launch the &lt;STRONG&gt;Polygon To Centerline&lt;/STRONG&gt; tool to create centerlines for these intersections.&lt;/P&gt;&lt;P&gt;6. &lt;STRONG&gt;Merge&lt;/STRONG&gt; the centerlines of intersections and non-intersections.&lt;/P&gt;&lt;P&gt;7. Use the &lt;STRONG&gt;Select Layer By Location&lt;/STRONG&gt; tool to identify centerlines whose start or end nodes align with road polygon corners.&lt;/P&gt;&lt;P&gt;8. Use arcpy.da.&lt;STRONG&gt;UpdateCursor&lt;/STRONG&gt; to &lt;STRONG&gt;trim&lt;/STRONG&gt; the first or last 5-10 vertices of incorrect centerlines.&lt;/P&gt;&lt;P&gt;9. Use arcpy.edit.&lt;STRONG&gt;ExtendLine&lt;/STRONG&gt; tool to extend any incorrect centerlines to the road polygon boundaries.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is an example of&amp;nbsp;&lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt;&amp;nbsp;tool for 2m-Densified road polygons:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Polygon_To_CenterLine_Capture_4.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/80209i3A7D311DC0298981/image-size/large?v=v2&amp;amp;px=999" role="button" title="Polygon_To_CenterLine_Capture_4.png" alt="Polygon_To_CenterLine_Capture_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 15:55:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326832#M17</guid>
      <dc:creator>WentaoChe</dc:creator>
      <dc:date>2023-09-08T15:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326843#M18</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Densify&lt;/STRONG&gt;ing the original 129,222 road polygons by 2 meters took only 57 seconds.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Collapse Hydro Polygon&lt;/STRONG&gt; tool generated centerlines for these polygons in just &lt;STRONG&gt;2&lt;/STRONG&gt; minutes and &lt;STRONG&gt;55&lt;/STRONG&gt; seconds.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It's incredibly fast!&lt;/STRONG&gt; Great job, and thank you again!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 16:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326843#M18</guid>
      <dc:creator>WentaoChe</dc:creator>
      <dc:date>2023-09-08T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Please Add {Snap_to_Mid_Point} Option to Polygon To Centerline Tool</title>
      <link>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326845#M19</link>
      <description>&lt;P&gt;That's great&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1475"&gt;@WentaoChe&lt;/a&gt;&amp;nbsp;I'm glad you have some options that are working for you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 16:08:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-production-mapping-ideas/please-add-snap-to-mid-point-option-to-polygon-to/idc-p/1326845#M19</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2023-09-08T16:08:38Z</dc:date>
    </item>
  </channel>
</rss>

