From 000fa6dce8f82a8af968bc883cef7254319964f1 Mon Sep 17 00:00:00 2001 From: sdy623 Date: Mon, 29 Jan 2024 18:44:59 +0900 Subject: [PATCH] Fix errors in executing arcpy.sa.NbrAnnulus ArcGIS Pro --- toolbox/scripts/s6_barriers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolbox/scripts/s6_barriers.py b/toolbox/scripts/s6_barriers.py index 8ed908ac..d49fc517 100644 --- a/toolbox/scripts/s6_barriers.py +++ b/toolbox/scripts/s6_barriers.py @@ -230,8 +230,8 @@ def do_radius_loop(): outer_radius = radius dia = 2 * radius - in_neighborhood = ("ANNULUS " + str(inner_radius) - + " " + str(outer_radius) + " MAP") + in_neighborhood = arcpy.sa.NbrAnnulus(inner_radius, + outer_radius, "MAP") @Retry(10) def exec_focal():