This repository houses a set of tools that allow the user to perform simple and automated regression analysis of a given coastal zone, all integrated into ArcGIS Pro.
Explore the code »
The analysis methodology is simple but effective, it is based on the analysis of shoreline variations by segmenting the area into profiles and evaluating them with linear regressions. This tool is developed as part of a Python Toolbox for ArcGIS Pro. The tools that make up the toolbox are designed in a very intuitive way with an interface that is fully integrated seamlessly into ArcGIS Pro.
In terms of data, this tool relies on the use of the following two files:
- Baseline (Vector - Polyline). This is the reference line used to assess the evolution of the coastal stretch. It can be digitized manually by the user with the help of a background orthophoto, taking care to place the baseline inland (behind all shorelines). The baseline must capture the general orientation of the coast.
- Shorelines (Vector - Polyline). These are the time series of the different shorelines on which the analysis will be based.
- For the correct functioning of the tool, the file must have a numeric ID and date fields.
Warning
Note that both Baseline and Shorelines must be defined in a projected coordinate system. These layers must be stored as Feature Classes in the Geodatabase of the ArcGIS project.
- Make sure you have cloned the base ArcGIS Anaconda environment so you can install more packages. More info here.
- Clone this repo on your computer.
- Check that you have installed all the required libraries used in the toolbox. All packages with their tested versions are listed in requirements.txt. To install the packages, follow these steps:
- Open an Anaconda terminal and activate the cloned version of the ArcGIS Anaconda environment. (If you don't have Anaconda installed on your computer, you can try to open the ArcGIS terminal located in "C:\Program Files\ArcGIS\Pro\bin\Python\Scripts\proenv.bat")
- Navigate to the main directory of your local clone of the repo and install the packages via pip:
pip install -r requirements.txt
- Open the Catalog Pane in ArcGIS Pro and add the Python Toolbox (.pyt) to see the tools.
For further details on how to run the different tools that make up the toolbox, a step-by-step guide is detailed here. The example for testing the tool is available in the example folder of the repository.
Albert Gallego Jiménez - LinkedIn - agalleji8@gmail.com
Project Link: https://github.com/AlbertGallegoJimenez/SEATool