<?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: Proceed densified geometry result as geometry in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106644#M6735</link>
    <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/editing/densify.htm" target="_blank"&gt;Densify (Editing)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;simplifies arcs and buffering those will carry forward the simplification&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-graphical-examples.htm" target="_blank"&gt;Select By Location graphic examples—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;however you can select the features that share a line segment.&amp;nbsp; If you switch that selection you should get disjoint features, which is what I think you want&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 10:22:58 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-10-12T10:22:58Z</dc:date>
    <item>
      <title>Proceed densified geometry result as geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106621#M6734</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am very new in Python , not familiar with arcpy&lt;/P&gt;&lt;P&gt;still need to make Python-script that can be run from ArcGIS Pro toolbox. The idea is to find the intersected polygons , but not touched, with selected polygons. My approach is first to buffer selected with negative distance to exclude touches and then use the SelectLayerByLocation to find intersected. Because selected polygons have curves or arcs, they are not buffered correctly, so first I make them densify. Densify returns result, but not geometries. So how the result can be proceed as geometries&lt;/P&gt;&lt;P&gt;here is the code&lt;/P&gt;&lt;P&gt;#pick up the selected polygons&lt;/P&gt;&lt;P&gt;for row in arcpy.da.SearchCursor(lyr.longName,fieldname_list):&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;#polygons are usually multygeometry&lt;BR /&gt;&amp;nbsp; &amp;nbsp; for part in row[1]:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; poly=arcpy.Polygon(part)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; poly_densify=arcpy.edit.Densify(poly,"OFFSET", "0.1 Meters", "0.1 Meters", 10, 10)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # print(poly_densify[0])&amp;nbsp; returns string class 'in_memory\fA087F071_E3E9_48D2_86FB_34F6394169D1'&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # here I need to buffer densified polygons, but how?&lt;/P&gt;&lt;P&gt;Or is there any other approaches to get only intersected not touched polygons&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 07:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106621#M6734</guid>
      <dc:creator>natatashi</dc:creator>
      <dc:date>2021-10-12T07:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proceed densified geometry result as geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106644#M6735</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/editing/densify.htm" target="_blank"&gt;Densify (Editing)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;simplifies arcs and buffering those will carry forward the simplification&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-graphical-examples.htm" target="_blank"&gt;Select By Location graphic examples—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;however you can select the features that share a line segment.&amp;nbsp; If you switch that selection you should get disjoint features, which is what I think you want&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 10:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106644#M6735</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-12T10:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proceed densified geometry result as geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106657#M6736</link>
      <description>&lt;P&gt;hi Dan, thanks for reply.&lt;/P&gt;&lt;P&gt;I don't have lines, only polygons . from this documentations&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-graphical-examples.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-by-location-graphical-examples.htm&lt;/A&gt;&amp;nbsp;(Select polygon using&amp;nbsp; polygon part), I need to exclude results I,J,L.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;on curves as part of polygon, buffer does not work correctly, it first make straight line from curve part and after then buffer this line. that is why I use densify, to replace curves&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 11:17:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/proceed-densified-geometry-result-as-geometry/m-p/1106657#M6736</guid>
      <dc:creator>natatashi</dc:creator>
      <dc:date>2021-10-12T11:17:26Z</dc:date>
    </item>
  </channel>
</rss>

