<?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 AverageNearestNeighbor Problems in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/averagenearestneighbor-problems/m-p/149795#M5056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have written a python program (ArcGIS 10) that enumerates a point dataset, creates a feature layer of the point dataset, selects point features around each point and finally calculates the AverageNearestNeighbor_stats if there are more than 2 points selected from the feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run this program I will get some strange output files and the calculation fails. The files that are created are mostly binary (e.g., ga*, ~DF*.tmp, $INVALID LOCATION$#.-, html report files created on local machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the python code that applies geoprocessing tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nn_output = arcpy.AverageNearestNeighbor_stats(TempFL2, "EUCLIDEAN_DISTANCE", "false", my_Area)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TempFL2: Feature layer of a point data set with a selection of points&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my_Area: area in square units used for calculation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All of these files are binary. I have no idea why the html is generated because I have specifically stated to not generate and finally, the calculation is always failing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone been using this tool. I am running either from PyScripter or IDLE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 15:02:36 GMT</pubDate>
    <dc:creator>MichaelO_Donnell1</dc:creator>
    <dc:date>2011-03-02T15:02:36Z</dc:date>
    <item>
      <title>AverageNearestNeighbor Problems</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/averagenearestneighbor-problems/m-p/149795#M5056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have written a python program (ArcGIS 10) that enumerates a point dataset, creates a feature layer of the point dataset, selects point features around each point and finally calculates the AverageNearestNeighbor_stats if there are more than 2 points selected from the feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run this program I will get some strange output files and the calculation fails. The files that are created are mostly binary (e.g., ga*, ~DF*.tmp, $INVALID LOCATION$#.-, html report files created on local machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the python code that applies geoprocessing tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nn_output = arcpy.AverageNearestNeighbor_stats(TempFL2, "EUCLIDEAN_DISTANCE", "false", my_Area)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TempFL2: Feature layer of a point data set with a selection of points&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my_Area: area in square units used for calculation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All of these files are binary. I have no idea why the html is generated because I have specifically stated to not generate and finally, the calculation is always failing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone been using this tool. I am running either from PyScripter or IDLE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 15:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/averagenearestneighbor-problems/m-p/149795#M5056</guid>
      <dc:creator>MichaelO_Donnell1</dc:creator>
      <dc:date>2011-03-02T15:02:36Z</dc:date>
    </item>
  </channel>
</rss>

