A collection of automated workflows for GIS analysis tasks using Python and open-source libraries.
This project is great for learning how to handle spatial data, run hydrological analysis and build tools for mapping - all with code!
This project demonstrates how to automate watershed (catchment) delineation using WhiteboxTools and Python.
- Fill depressions in the DEM
- Compute D8 flow direction
- Calculate flow accumulation
- Extract streams (optional for verifying pour points)
- Snap pour points to high-flow cells
- Delineate watersheds
- Convert watershed raster to vector polygons
- Area Calculation
- WhiteboxTools (hydrological analysis)
- Python, GeoPandas
- Watershed shapefile
- Flow direction/accumulation rasters
You can explore the full code and workflow in this interactive notebook:
π Catchment Area Delineation Notebook
More automated GIS workflows coming soon β stay tuned!