This is the Python version of the COINS tool. Although it can be run on any IDLE (Spyder, Pycharm, Jupyter Notebook, etc.), it is advised to run the script from the command prompt shell for faster processing.
- Install Python 3x and necessary libraries including NumPy and PyShp.
- Place the input files/ file in a directory. Make sure any other shapefile (point or polygon) is not present in the directory.
- In the script, update the working directory in line 458.
- Open the command prompt shell in the directory where your Python script is located.
- Use the following command.
If Python is added to your PC's environment path variables:
python NameOfTheScript.py
If Python is not in your PC's environment path variables:
path/to/python NameOfTheScript.py
The video below demonstrates to use the tool when Python is not added to PC's environment path variables and the command prompt is not operating from the directory where script is located.
(Click to watch full video)