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.
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 two required fields:
- Numeric ID: A unique identifier for each shoreline
- Date: in ISO 8601 format (
YYYY-MM-DD, e.g.,2023-05-15)
- For the correct functioning of the tool, the file must have two required 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 on how to clone the base environment here.
- Download this repository on your computer. You have two options:
- Via Git (recommended): Open a terminal and run
git clone https://github.com/AlbertGallegoJimenez/SEATool - Direct download: Click the green
<> Codebutton at the top of this page, then selectDownload ZIPand extract it to your desired location.
- Via Git (recommended): Open a terminal and run
- 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" or just type "Python Command Prompt" in the Windows search box and open this terminal)
- Navigate to the main directory of your local clone of the repo and install the packages via pip:
cd path/to/SEATool pip install -r requirements.txt
- Open the Catalog Pane in ArcGIS Pro and add the Python Toolbox (.pyt) to see the tools.
A comprehensive video tutorial covering installation, setup, and usage of all SEATool tools is available:
Albert Gallego Jiménez - LinkedIn - agalleji8@gmail.com
Project Link: https://github.com/AlbertGallegoJimenez/SEATool
