<?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: How print nearest object? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-print-nearest-object/m-p/1048421#M39829</link>
    <description>&lt;P&gt;See the second code example&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/near.htm" target="_blank"&gt;Near (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A dictionary is produced with the target and near ids.&lt;/P&gt;&lt;P&gt;In the interim, try&amp;nbsp;&lt;/P&gt;&lt;P&gt;print(x)&lt;/P&gt;&lt;P&gt;to at least see what you have for the value(s) you collected for the near analysis&lt;/P&gt;</description>
    <pubDate>Sat, 17 Apr 2021 09:36:13 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-04-17T09:36:13Z</dc:date>
    <item>
      <title>How print nearest object?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-print-nearest-object/m-p/1048390#M39828</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have point on map. I want found nearest object. Code works perfect. System show 1 occurence. But how get it? &lt;STRONG&gt;opori_path&lt;/STRONG&gt; element&lt;/P&gt;&lt;PRE&gt;point = arcpy.Point(&lt;SPAN class="hljs-number"&gt;5285360.478599999&lt;/SPAN&gt;, &lt;SPAN class="hljs-number"&gt;5310336.491400003&lt;/SPAN&gt;)
ptGeometry = arcpy.PointGeometry(point)
x = arcpy.analysis.Near(ptGeometry, opori_path, &lt;SPAN class="hljs-literal"&gt;None&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"NO_LOCATION"&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"NO_ANGLE"&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"PLANAR"&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"NEAR_FID;NEAR_DIST;NEAR_FC"&lt;/SPAN&gt;)
            &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 02:23:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-print-nearest-object/m-p/1048390#M39828</guid>
      <dc:creator>Radzhabad</dc:creator>
      <dc:date>2021-04-17T02:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How print nearest object?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-print-nearest-object/m-p/1048421#M39829</link>
      <description>&lt;P&gt;See the second code example&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/near.htm" target="_blank"&gt;Near (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A dictionary is produced with the target and near ids.&lt;/P&gt;&lt;P&gt;In the interim, try&amp;nbsp;&lt;/P&gt;&lt;P&gt;print(x)&lt;/P&gt;&lt;P&gt;to at least see what you have for the value(s) you collected for the near analysis&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 09:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-print-nearest-object/m-p/1048421#M39829</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-17T09:36:13Z</dc:date>
    </item>
  </channel>
</rss>

