Sample Notebook: Analyzing Violent Crime

632
2
08-11-2019 11:01 PM
RayHardjadinata1
New Contributor

I've been trying a few sample notebooks and there's always an error somewhere in the middle. For example on the "Analyzing Violent Crime" sample notebook (https://developers.arcgis.com/python/sample-notebooks/analyzing-violent-crime/) on the "try it live", there's an error on cell [14]: 

crime_hot_spots = find_hot_spots(violent_crimes,
output_name='ViolentCrimeHotSpots',
bounding_polygon_layer=analysis_boundary)

ProcessFeatureOutput failed. Error: {"code" : 0, "messageCode":"GPEXT_017","message": "Service ViolentCrimeHotSpots already exists.", "params": {"name" : "ViolentCrimeHotSpots"}} {"messageCode": "AO_100007", "message": "FindHotSpots failed."} Failed to execute (FindHotSpots). Failed.


What might be the cause for this?

Alternatively, can someone just point me to a sample notebook that actually run from beginning to end?

Tags (1)
0 Kudos
2 Replies
KarstenRank
Occasional Contributor III

crime_hot_spots = find_hot_spots(violent_crimes,
output_name='ViolentCrimeHotSpots',
bounding_polygon_layer=analysis_boundary)

"Service ViolentCrimeHotSpots already exists."

Change the output_name and it should work!

RayHardjadinata1
New Contributor

Thank you!

0 Kudos