AnsweredAssumed Answered

Optimized hotspot analysis (ArcGIS Desktop 10.5.1) tool failing to excecutet gives me the following

Question asked by 15124193 on Jul 13, 2017
Latest reply on May 15, 2018 by JDAcosta-esristaff

Hi Guys,

I have 399 incidence points on which I would like to run Optimised Hotspot Analysis with the aggregate into fishnet option selected. The goal is to determine the polygon size (fishnet block size). When running the tool in ArcGIS 10.5.1 it gives me the following output:

 

Executing: OptimizedHotSpotAnalysis TRAP_LOCATIONS_EGVV_UTM_WG_84 "E:\Academic\ArcGIS_Files\EGVVProject2017CorrectProjection\Analysis Locations etc\Trap_Icidence_Hotspots.shp" # COUNT_INCIDENTS_WITHIN_FISHNET_POLYGONS # # # # #
Start Time: Thu Jul 13 12:24:18 2017
Running script OptimizedHotSpotAnalysis...

 

************************** Initial Data Assessment ***************************
Making sure there are enough incidents for analysis....
    - There are 399 valid input features.

 

Looking for locational outliers....
    - There were 3 outlier locations; these will not be used to compute the polygon cell size.

 

**************************** Incident Aggregation ****************************
Creating fishnet polygon mesh to use for aggregating incidents....
Failed script OptimizedHotSpotAnalysis...

 

Traceback (most recent call last):
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 1276, in <module>
    setupOptHotSpot()
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 292, in setupOptHotSpot
    bandSize2Use = processingBandSize)
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 353, in __init__
    self.initialize()
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 384, in initialize
    self.doGrid()
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 698, in doGrid
    cellSize, boundaryExtent)
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 792, in aggregation
    self.createMesh(outputFC, [locationField, countField], spatialRef, mask)
  File "c:\program files (x86)\arcgis\desktop10.5\ArcToolbox\Scripts\OptimizedHotSpotAnalysis.py", line 835, in createMesh
    xyDomain = [UTILS.strToFloat(i) for i in spatialRef.domain.split(" ")]
  File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcToolBox\Scripts\SSUtilities.py", line 119, in strToFloat
    return LOCALE.atof(floatAsStr)
  File "C:\Python27\ArcGIS10.5\Lib\locale.py", line 312, in atof
    string = string.replace(ts, '')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128)

 

Failed to execute (OptimizedHotSpotAnalysis).
Failed at Thu Jul 13 12:24:19 2017 (Elapsed Time: 0,89 seconds)

 

 

These are the points that I want to use for the analysis.

 

Can anyone please help me?

 

Kind Regards

Gulu

Outcomes