Hello again,
I am trying to run `find_hot_spots` with two arguments, but I receive an error saying I gave nine.
Any tips?
Solved! Go to Solution.
I checked and found that you have run into a bug. We've added the fix for the next update, but for now, you may edit analyze_patterns.py at the path in the stack trace, and remove the first (gis) parameter from line 128. It should be:
return gis._tools.featureanalysis.find_hot_spots(
analysis_layer,
analysis_field,
divided_by_field,
bounding_polygon_layer,
aggregation_polygon_layer,
output_name,
context)
analysis_layer=...
it shouldn't matter, but when using named parameters, maybe naming them all will help
I checked and found that you have run into a bug. We've added the fix for the next update, but for now, you may edit analyze_patterns.py at the path in the stack trace, and remove the first (gis) parameter from line 128. It should be:
return gis._tools.featureanalysis.find_hot_spots(
analysis_layer,
analysis_field,
divided_by_field,
bounding_polygon_layer,
aggregation_polygon_layer,
output_name,
context)