Skip to content

Fix errors in executing arcpy.sa.NbrAnnulus ArcGIS Pro#176

Open
sdy623 wants to merge 1 commit into
linkagescape:mainfrom
sdy623:arcgis_pro_dev
Open

Fix errors in executing arcpy.sa.NbrAnnulus ArcGIS Pro#176
sdy623 wants to merge 1 commit into
linkagescape:mainfrom
sdy623:arcgis_pro_dev

Conversation

@sdy623

@sdy623 sdy623 commented Jan 29, 2024

Copy link
Copy Markdown

No description provided.

@johngallo

Copy link
Copy Markdown
Member

@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.

@dkav

dkav commented May 17, 2024

Copy link
Copy Markdown
Contributor

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.

@johngallo

Copy link
Copy Markdown
Member

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 johngallo added bug Unexpected problem or unintended behavior barrier mapper Relating to Barrier Mapper tool labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

barrier mapper Relating to Barrier Mapper tool bug Unexpected problem or unintended behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants