Hello Community, I am new to the Linkage Mapper Tool and the ArcGIS Pro interface. I'm habituated to ArcGIS Desktop. This might be a very newbie issue to most of you.
I am running the demo file in the Linkage Mapper tool for Linkage Pathways [BuildNetwork & MapLinkages]. Here is the pop-up message on my laptop.
Build Network and Map Linkages
=====================
Tool Path
C:\Users\rkathariya\Documents\ToolboxPro\linkage_mapper_3_0_0\toolbox\Linkage Mapper.tbx\MapLinkages
=====================
Parameters
Project Directory C:\demo\output\lm
Core Area Feature Class lm_cores
Core Area Field Name core_id
Resistance Raster lm_resistances.tif
Step 1 - Identify Adjacent Core Areas true
Step 2 - Construct a Network of Core Areas true
Network Adjacency Method Cost-Weighted & Euclidean
Core Area Distances File C:\demo\data\distances_lm_cores.txt
Step 3 - Calculate Cost-Weighted Distances and Least Cost Paths true
Drop Corridors that Intersect Core Areas true
Step 4 - Prune Network Using Options Below true
Option A - Maxium Number of Connected Nearest Neighbors 1
Option B - Nearest Neighbor Measurement Unit Euclidean
Option C - Connect Neighboring Constellations true
Step 5 - Calculate, Normalize and Mosaic Corridors true
Truncate Corridors true
Truncate Cost-Weighted Distance Threshold 200000
Bounding Circles Buffer Distance 10000
Maximum Cost-Weighted Corridor Distance 100000
Maximum Euclidean Corridor Distance 40000
Output for ModelBuilder Precondition
Custom Settings File
=====================
Messages
Start Time: Friday, April 18, 2025 10:42:15 AM
A record of run settings and messages can be found in your log directory:
C:\demo\output\lm\run_history\log
********************************************************
NOTE: Linkage Mapper tools often work best when run from ArcCatalog instead of ArcMap.
Setting data frame spatial reference to that of core area feature class.
---------------------------------
Starting at step 1.
Making temporary copy of resistance raster for this run.
Making temporary raster of core file for this run.
---------------------------------
Running script s1_getAdjacencies.py
Adjacency files will be written to C:\demo\output\lm\datapass\adj
Reducing processing area using bounding circle plus buffer of 10000.0 map units
Calculating cost-weighted distance adjacency
---------------------------------
****Failed in step 1. Details follow.****
---------------------------------
Python error on **line 119** of s1_getAdjacencies.py in Linkage Mapper Version 3.0.0:
AttributeError: module 'time' has no attribute 'clock'
---------------------------------
A record of run settings and messages can be found in your log directory:
C:\demo\output\lm\run_history\log
---------------------------------
Failed script Build Network and Map Linkages...
Failed to execute (MapLinkages).
Failed at Friday, April 18, 2025 10:42:19 AM (Elapsed Time: 3.69 seconds);