Hi Jonas
As you know, MapInfo Pro does support Python these days and you can also install and use additional Python modules. So there is a chance, you can use the example you link to from MapInfo Pro too.
I'd think some of the Python code in the sample would need some changes to work in Pro. I haven't looked into that though.
Would you want to use Python to do this?
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------
Original Message:
Sent: 08-16-2024 06:30
From: Jonas Nordlund
Subject: Least Cost Path analysis
We just discovered this code sample by using GDAL and scikit-image that might work for us as a plan B in case we still need to turn to external tools. It also illustrates what we want to do here: Raster Layers - Python GDAL/OGR Cookbook 1.0 documentation (pcjericks.github.io)
------------------------------
Jonas Nordlund
Software Developer
Norconsult AB
Sweden
------------------------------