AnsweredAssumed Answered

Python spatial analysis - getting TypeError "find_nearest() got an unexpected keyword argument 'maxcount'"

Question asked by Missouri_EMGIS on Mar 13, 2018
Latest reply on Mar 13, 2018 by Missouri_EMGIS

I'm attempting an analysis script using Jupyter Notebook between 2 layers of point data (one is a layer of fire stations, the other is a layer of points representing an emergency to react to).  The goal is to locate the 3 nearest fire stations to the emergency and then include the driving routes from each station to the emergency.  Here's the segment of my script in question:

 

 

Here's the API reference for this function (https://developers.arcgis.com/rest/analysis/api-reference/find-nearest.htm).  Is it a requirement to define each and every parameter?

Outcomes