<?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: Deleting short line segments in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018095#M25078</link>
    <description>&lt;P&gt;Well in the first instance you should have a filed called SHAPE_LENGTH which is the length of each segment, a select by attributes&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-layer-by-attribute.htm" target="_blank"&gt;Select Layer By Attribute (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;where for example SHAPE_LENGTH &amp;lt; 10.0&lt;/P&gt;&lt;P&gt;Be sure that you have correctly projected your data though, as if it's in a GCS such as WGS84 (or even a questionable projection such as Web Mercator), the SHAPE_LENGTH value will be either in decimal degrees or slightly/very incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other issue - let me think, it seems tricky.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 20:10:31 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-01-19T20:10:31Z</dc:date>
    <item>
      <title>Deleting short line segments</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018082#M25077</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As you can see from the below image, I want to delete short segment lines (roads marked in red) that are away from the main cluster.&lt;/P&gt;&lt;P&gt;1. Is there any way to detect lines (red in the image below) that are shorter than input distance (50' for example) and delete them?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If the above option works, then how can I separate the&amp;nbsp;short isolated lines (red in the below image) and the short lines that are connected to each other(blue in the below image). I only want to delete red and keep blue.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4097i94F78EBAE88FD117/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 19:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018082#M25077</guid>
      <dc:creator>Sunny</dc:creator>
      <dc:date>2021-01-19T19:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting short line segments</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018095#M25078</link>
      <description>&lt;P&gt;Well in the first instance you should have a filed called SHAPE_LENGTH which is the length of each segment, a select by attributes&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-layer-by-attribute.htm" target="_blank"&gt;Select Layer By Attribute (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;where for example SHAPE_LENGTH &amp;lt; 10.0&lt;/P&gt;&lt;P&gt;Be sure that you have correctly projected your data though, as if it's in a GCS such as WGS84 (or even a questionable projection such as Web Mercator), the SHAPE_LENGTH value will be either in decimal degrees or slightly/very incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other issue - let me think, it seems tricky.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 20:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018095#M25078</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-01-19T20:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting short line segments</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018136#M25080</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Yea, I need to somehow make a condition to distinguish the line that have less intersection points&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 21:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018136#M25080</guid>
      <dc:creator>Sunny</dc:creator>
      <dc:date>2021-01-19T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting short line segments</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018159#M25082</link>
      <description>&lt;P&gt;Ok had a think, you can dissolve&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/dissolve.htm" target="_blank"&gt;Dissolve (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;using the default 'UNSPLIT_LINES' parameter. This will turn all touching segments into a single feature.&amp;nbsp; You can then again use the SHAPE_LENGTH to select these small lines, but this time, ones which are part of the 'main' segments will have a large value instead.&lt;/P&gt;&lt;P&gt;If you wish to keep the original unmerged line features, I would still do the same process to select all of your unwanted lines, but instead of then deleting them, export them to a new feature class, then use that exported feature class to select by location (i.e. intersecting the original lines, and then delete).&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 22:37:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018159#M25082</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-01-19T22:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting short line segments</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018161#M25083</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-geometry-attributes.htm" target="_blank"&gt;Add Geometry Attributes (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want 2 point lines, add the point count option and length option, then query for it.&lt;/P&gt;&lt;P&gt;So with the above tool, you determine the number of vertices that you want and their length.&lt;/P&gt;&lt;P&gt;If you want to differentiate between those that are connected to other features, then that can also be accomplished using select by location options for example.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-within-a-layer.htm" target="_blank"&gt;Select By Location: Select based on spatial relationship within the layer—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So if you can come up with the rules to isolate what you want to identify, then it can be accomplished&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 22:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/deleting-short-line-segments/m-p/1018161#M25083</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-01-19T22:41:06Z</dc:date>
    </item>
  </channel>
</rss>

