Skip to content

Latest commit

 

History

History

arcgis-toolbox

Telecoupling Toolbox: ArcGIS Toolbox v2.3

Major Releases


  • Version 2.3

This release adds a new tool to the Flows toolset, called Commodity Trade. This tool maps the trade of commodities between 2010 and 2014 for a select set of commodities.

  • Version 2.2

This release adds two new tools to the Environmental Analysis toolset, called Coastal Blue Carbon and Coastal Blue Carbon Preprocessor, respectively, customized from InVEST (3.3.3). This tools can be used to predict the amount of carbon stored and sequestered over a coastal zone at particular points in time due to changes in land cover.

  • Version 2.1

This release adds a new tool to the Environmental Analysis toolset, called Sedimenty Delivery Ratio, customized from InVEST (3.3.3). This tool can be used to estimate overland sediment generation and delivery to the stream.

  • Version 2.0

This release adds a new tool to the Socioeconomic Analysis toolset, called Food Security. This tool can be used to estimate rainfall and distance to market within an area of interest.

  • Version 1.7 (beta)

This release adds a new tool within the Environmental Analysis toolset, called Seasonal Water Yield, customized from InVEST (3.3.3). This tool can be used to estimate the contribution of a pixel in a watershed to baseflow, quickflow, and local recharge.

  • Version 1.6 (beta)

This release adds a new tool within the Environmental Analysis toolset, called Fisheries Harvest, customized from InVEST (3.3.3). This tool can be used to quantify catch volume and economic value.

  • Version 1.5 (beta)

This release adds a new tool within the Systems toolset, called Network Analysis Grouping, written in R and connected to ArcGIS using the R-Bridge from ESRI. This tool uses network information (i.e. nodes, links, and directions) of units (e.g. countries, areas, administrative units) within a telecoupling system and aggregates them into groups (clusters) based on their network connectivity.

  • Version 1.4 (beta)

This release adds a new tool within the Environmental Analysis toolset, called NDR (Nutrient Delivery Ratio), customized from InVEST (3.3.3). This tools can be used to map nutrient sources from watersheds and their transport to the stream.

  • Version 1.3 (beta)

This release adds a new tool within the Socieconomic Analysis toolset, called Nutrition Metrics, a custom tool that estimates the population within an Area of Interest (AOI) by age groups and then calculates the Lower Limit of Energy Requirement (LLER; in kilocalories / day) for age groups within the AOI. NOTE: This tool will only run with Areas of Interest in Africa, Asia, or South America / Central America / Caribbean.

  • Version 1.2 (beta)

This release adds a new tool within the Socieconomic Analysis toolset, called Population Count and Density, a modified version of the Population Density Metrics tool from the Analytical Tools Interface for Landscape Assessments (ATtILA) by the United States Environmental Protection Agency (EPA).

  • Version 1.1 (beta)

This release adds two new tools, the Habitat Risk Assessment Preprocessor and the Habitat Risk Assessment, both customized from InVEST (3.3.3). Sample data is now shipped separately from the main code repository to reduce its size. The main toolbox file (.tbx) has been updated to reflect the change in version and development stage as well as naming convention (Telecoupling Toolbox instead of Tools). The old ‘Effect’ toolset has now been partitioned into two new toolsets: Environmental Analysis and Socioeconomic Analysis.

  • Version 1.0 (beta)

This version moves the development stage from alpha to beta after several months of testing. Some tools might still return errors or have bugs in it, but testing was successful on several different machines and settings. This version updates the InVEST tools to version 3.3.3 and its dependencies such as the PyGeoprocessing library (updated to version 0.3.2). All .bat files inside the PyLibs folder have been updated to reflect this change. The main toolbox file (.tbx) has been updated to reflect the change in version and development stage.

  • Version 1.2 (alpha)

This release eliminates the redundant presence of the “Draw Radial Flows and Nodes” tool (Flows toolset) while incorporating its old functionality into the existing “Draw Radial Flows” tool. The latter can now optionally draw and additional layer on top of the default flow lines, showing nodes at each flow destination, which can then be symbolized according to an attribute (quantity) of interest. The toolbox is still in alpha development stage and is being tested for bugs and errors that need to be addressed before releasing a more stable beta version.

  • Version 1.1 (alpha)

This release includes an upgrade in the CO2 emission script tool accounting for number of wildlife units transferred and transportation capacity of the medium used. The tool now allows testing of future CO2 emission scenarios for wildlife transfer compared to current conditions. The toolbox is still in alpha development stage and is being tested for bugs and errors that need to be addressed before releasing a more stable beta version.

  • Version 1.0 (alpha)

This is the first version officially released for the Telecoupling Toolbox for ArcGIS. The toolbox is still in alpha development stage and is being tested for bugs and errors that need to be addressed before releasing a more stable beta version.

Minor Releases


  • Version 1.7.3 (beta)

This release adds network analysis metrics (within an output .csv file) to the Network Analysis Grouping tool.

  • Version 1.7.2 (beta)

This release removed the dependence on mosaic data sets from the Nutrition Metrics tool. This tool now relies on rasters grouped in a common folder rather than construction of a mosaic data set.

  • Version 1.7.1 (beta)

This release re-organizes the Crop Production and the Fisheries Harvest InVEST 3.3.3 tools into the Socioeconomic Analysis toolset.

  • Version 1.2.1 (alpha)

Fixed bug in the Habitat Quality tool (Effects toolset) potentially producing negative values for habitat quality and degradation output rasters.

  • Version 1.1.1 (alpha)

Added output layer name fields in the Cost-Benefit Analysis (Wildlife Transfer) and Draw Radial Flows tools.

  • Version 1.0.1 (alpha)

Fixed bug in the script tools linked to InVEST (3.3.1) that caused any output vector and raster files to incorrectly align with the input layers. The issue seems to be caused by the way ArcGIS interprets the spatial reference (projection string) of output files saved by the InVEST software. A workaround has been implemented, automatically re-defining the projection of the output layers before showing in the table of content in ArcGIS.

Prerequisites


To install the Telecoupling Toolbox for ArcGIS, make sure to follow all the steps specified below.

  • R (3.2.0 or later)
  • ArcGIS (10.3.1 or later)
  • Python 2.7.x (ArcGIS comes with Python, so no need to install a standalone version of Python!)

NOTE: versions of ArcGIS prior to 10.3.1 may still work with some of our tools but have NOT been tested. ArcGIS Pro has also NOT been tested yet! Python 2.7.x ships together with ArcGIS and is automatically installed with it. If possible, avoid installing multiple versions of Python on your system as it may create conflicts and errors. If you are using Anaconda, you may need additional settings to make sure you can run the tools smoothly. For more info, check this website.)

Install Python libraries for 3rd party external software


The Telecoupling Toolbox for ArcGIS relies on a number of python libraries that are required to run tools that use external software (e.g. InVEST). If you skip this step, tools using any external software will NOT work.

  1. Although your computer may already have a C++ compiler installed, follow this step and Download and install the Microsoft Visual C++ Compiler for Python 2.7
  2. Follow the instructions below depending on the version of ArcGIS installed on your system:
    • ArcGIS 10.3.1 (standard 32-bit version):
      • Download get-pip.py and save it on a local folder
      • Open the CMD prompt on Windows and type: C:\Python27\ArcGIS10.3\python.exe followed by the full path to get-pip.py (for example if you downloaded and saved the file on your D:\ drive, the full path would be D:\get-pip.py)
      • Hit Enter to run the command above
      • Make sure pip is installed and upgraded to latest version by running the command C:\Python27\ArcGIS10.3\python.exe -m pip install -U pip
      • Open the folder PyLibs found inside the (unzipped) ArcGIS Toolbox folder
      • Double-click on the ArcGIS103_Py32_libs.bat file
      • If you get errors that prevent installation of any of the required packages, please contact us with detailed information
    • ArcGIS 10.4.x (standard 32-bit version):
      • Open the CMD prompt on Windows and make sure the Python package manager pip is installed and upgraded to latest version by running the command C:\Python27\ArcGIS10.4\python.exe -m pip install -U pip
      • Open the folder PyLibs found inside the (unzipped) telecoupling project folder
      • Double-click on the ArcGIS104_Py32_libs.bat file
    • ArcGIS 10.5.x (standard 32-bit version):
      • Open the CMD prompt on Windows and make sure the Python package manager pip is installed and upgraded to latest version by running the command C:\Python27\ArcGIS10.5\python.exe -m pip install -U pip
      • Open the folder PyLibs found inside the (unzipped) telecoupling project folder
      • Double-click on the ArcGIS105_Py32_libs.bat file

Install the R-ArcGIS Bridge (this step does NOT depend on the previous section and can be completed separately!)


In order to allow interaction between ArcGIS and the R software, you will need to follow the next few steps:

  • Open ArcMap (NOTE: make sure you have admin rights on your computer or the next steps will not work!)
  • Find and open the Geoprocessing ArcToolbox window (Menu > Geoprocessing > ArcToolbox)

Figure 1

  • Right-click the ArcToolbox folder and select "Add Toolbox..."

Figure 2

  • Browse to the r-bridge-install-master folder found inside the unzipped telecoupling project folder and select the R Integration.pyt toolbox

Figure 3

  • After the toolbox has been added to the ArcToolbox list, click on it to open it and double-click on the Install R Bindings tool to open its interface. Click on OK to run it.

Figure 4

If you need more details and information, ESRI has developed a nice Github webpage with lots of useful documentation on how to install a set of libraries to make sure R and ArcGIS can talk to each other.

Add the Telecoupling Toolbox to ArcGIS


You are almost done! Now that you installed all Python 3rd party libraries and the R-ArcGIS Bridge, you are ready to use and test the Telecoupling Toolbox for ArcGIS.

Follow these steps to add the Toolbox to your ArcMap document:

  1. Open ArcMap
  2. Right-click on the ArcToolbox folder and select "Add Toolbox"
  3. Browse to the unzipped ArcGIS Toolbox folder and select Telecoupling Toolbox v2.3.tbx

Inside the Telecoupling Toolbox you should see 5 toolsets (agents, causes, environmental analysis, socioeconomic analysis, flows, systems) and a number of python tool scripts inside each one of them.

Figure 5

To learn more about what each tool script does and what parameters it takes, please refer to the user guide found inside the Documentation folder. Alternatively, each tool will have a help window associated with it explaining what each parameter is and a general description of the tool. To open the help window, click on the 'show help' button found at the bottom of each tool script after opening it (double-click on the tool script to open the user interface).

Figure 6 Figure 7

That's it! The Telecoupling Toolbox is now added to the ArcToolbox list and you can start using it with the set of sample data After unzipping the sample data folder, you will see a mix of GIS (vector, raster) data and tables (.csv) needed as input parameters by the script tools.

Credits and Contacts


© 2018 Michigan State University

Francesco Tonini: [email protected]

Paul McCord: [email protected]

Jianguo 'Jack' Liu: [email protected]

LICENSE


Telecoupling Toolbox (“Software”) is the property of Michigan State University (“MSU”) and is made available solely for educational or non-commercial use. See LICENSE for details.

  • This toolbox depends on the R Statistical Computing Software:

© 2018 The R Foundation for Statistical Computing. R is free software and comes with ABSOLUTELY NO WARRANTY. See the COPYRIGHTS file for details.

© 2018 ESRI. See the Software License and Agreement for details.

© 2018 NatCap Project. See the Software License and Agreement for details.