Hello everyone,
Very new to python.
I have VBA code that should eventually allow a user to input a dataset (watersheds) and launch python scripts that will calculate various attributes of those watersheds.
The first script I am working on calculates the area of different land cover classes within each watershed by A) intersect watersheds and landcover (both vector) B) Dissolve based on unique watershed and land cover IDs C) export the attribute table.
1. How do I launch a python script from a VBA code?
2. How do I set up the parameters for the script? i.e. get the watersheds and land cover from the vba code.
If you could point me towards websites/books/anything that may help I would appreciate it, or offer your own insight :).
Thanks