[Download](https://gitlab.itek.norut.no/jakob/vpi-toolbox#releases) the VPI toolbox and unzip it to a path of your choice, from now on referenced to as `C:\path-to-vpi-codes\`.
and press Enter. Click `Environment variables...`. If the variable `PYTHONPATH` exists in the list:
- Click `Edit...`
- Click `New`
- Type the path to where this repository was downloaded (in step 1).
If the variable `PYTHONPATH` does not exist in the list:
- Click `New...`
- In the field `Variable name` type:
```
PYTHONPATH
```
```
- In the field `Variable value` type:
## 2. Update ArcGIS:
```
Make sure you have updated ArcGIS to 2.5 or higher.
C:\path-to-vpi-codes\
```
i.e. the path to where this repository was downloaded (in step 1)
-->
## 3. Download source codes:
[Download](https://gitlab.itek.norut.no/jakob/vpi-toolbox#releases) the VPI toolbox and unzip it to a path of your choice, from now on referenced to as `C:\path-to-vpi-codes\`.
In the command prompt, type (where `C:\path-to-vpi-codes\` must be changed to the path to the vpi source code as of step 1):
In the command prompt, type (where `C:\path-to-vpi-codes\` must be changed to the path to the vpi source code as of step 1):
...
@@ -49,7 +34,7 @@ Activate the environment called "vpi": <details><summary>Show screen shot</summa
...
@@ -49,7 +34,7 @@ Activate the environment called "vpi": <details><summary>Show screen shot</summa
Restart ArcGIS Pro.
Restart ArcGIS Pro.
## 3. Add the toolbox to your project
## 5. Add the toolbox to your project
After restarting ArcGIS Pro, go to the catalog pane: <details><summary>Show screen shot</summary>[[resources/how-to-setup_add-toolbox.png]]</details>
After restarting ArcGIS Pro, go to the catalog pane: <details><summary>Show screen shot</summary>[[resources/how-to-setup_add-toolbox.png]]</details>
Left-click `Toolboxes`, click `Add Toolbox` and select the file:
Left-click `Toolboxes`, click `Add Toolbox` and select the file:
...
@@ -57,5 +42,4 @@ Left-click `Toolboxes`, click `Add Toolbox` and select the file:
...
@@ -57,5 +42,4 @@ Left-click `Toolboxes`, click `Add Toolbox` and select the file:
C:\path-to-vpi-codes\vpi.pyt
C:\path-to-vpi-codes\vpi.pyt
```
```
The 2D-InSAR VPI toolbox should appear and be ready for use: <details><summary>Show screen shot</summary>[[resources/how-to-setup_added-toolbox.png]]</details>
The 2D-InSAR VPI toolbox should appear and be ready for use: <details><summary>Show screen shot</summary>[[resources/how-to-setup_added-toolbox.png]]</details>