linkage-mapper icon indicating copy to clipboard operation
linkage-mapper copied to clipboard

Fix errors in executing arcpy.sa.NbrAnnulus ArcGIS Pro

Open sdy623 opened this issue 2 years ago • 3 comments

sdy623 avatar Jan 29 '24 09:01 sdy623

@sdy623 Thank you so much for your contribution! One of our team tested this with the sample data a few months ago and it did not work properly. Last I heard he was going to try fixing it, but I'm assuming that has stalled. Please let me know if you would like me to pass on a more detailed report out.

johngallo avatar May 17 '24 14:05 johngallo

I cannot test but the change looks correct. It is not the only neighborhood class update needed in this file. Defining neighborhood as a string and not as class goes back to ArcGIS 9.3. May be related to this Google Groups post.

dkav avatar May 17 '24 23:05 dkav

Thanks @dkav ! Much appreciated. @sdy623 , dkav gives a good couple clues as to why it may have failed. (Note, the code tester ran it fine in ArcMap, but it failed in ArcPro using the similar but not exact parameters. He used the sample data in the toolbox I believe, and I can find the exact parameters if that helps. Pls let us know if you do not have access to ArcGIS Pro. Thanks again for your contribution!

johngallo avatar May 18 '24 00:05 johngallo