I am trying to determine the mean and standard deviation from a subset of point features. Once I determine the standard deviation I want to exclude any points that are more than twice the standard deviation from the mean distance.
To do this I tried to run Average Nearest Neighbor for a selected set of records in a WGS_1984 point file using ArcMap 10.2.2 basic. I've excluded ungeocoded records from the analysis and checked to see if my study area was greater than 30 degrees. Keep getting this error:
Traceback (most recent call last):
File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Scripts\NearestNeighbor.py", line 348, in <module>
setupNearestNeighbor()
File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Scripts\NearestNeighbor.py", line 55, in setupNearestNeighbor
nn = NearestNeighbor(ssdo, concept = concept, studyArea = studyArea)
File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Scripts\NearestNeighbor.py", line 106, in __init__
self.setStudyArea()
File "c:\program files (x86)\arcgis\desktop10.2\ArcToolbox\Scripts\NearestNeighbor.py", line 124, in setStudyArea
spatialRef = ssdo.spatialRef)
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Scripts\SSUtilities.py", line 442, in innerFunction
returnValue = functionName(*args, **kw)
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Scripts\SSUtilities.py", line 1910, in minBoundGeomPoints
"", "MBG_FIELDS")
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 2724, in MinimumBoundingGeometry
raise e
ExecuteError: ERROR 000210: Cannot create output :\ArcGIS\Default.gdb\regularBound_FC0
Failed to execute (MinimumBoundingGeometry).
Thought maybe it was the length of the output name or a lock on the default gdb but get same results even after changing default gdb. Can't manually change the output file as you do not have this option in the tool parameters.
Would like to know if anybody else has run into this problem or knows of a better process for calculating distance standard deviations and means.
ERROR 000210: Cannot create output :\ArcGIS\Default.gdb\regularBound_FC0 Failed to execute (MinimumBoundingGeometry)
or you have done reduction at the file path as quoting here?:\ArcGIS\Default.gdb\regularBound_FC0