Skip to content

zswirad/CliffDelineaTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

CliffDelineaTool

DOI
Latest versions: MATLAB v1.2.0; Python v1.2.0

CliffDelineaTool is an algorithm for mapping coastal cliffs by finding cliff base and top positions along cross-shore transects. Written in MATLAB and available in Python, it takes as input text files with series of points containing information on point ID, transect ID, elevation and distance from the seaward transect ends. Points can contain information on XY coordinates that will be retained for easier incorporation of cliff base and top positions into GIS software. To run the code you need to generate alongshore transects and resample them. Suggestions on how to do it in ArcMap can be found below. See datasets folder for the calibration and validation datasets.

If you use the code, please cite the article: Swirad Z.M. & Young A.P. 2022. CliffDelineaTool v1.2.0: an algorithm for identifying coastal cliff base and top positions. Geoscientific Model Development 15: 1499–1512. https://doi.org/10.5194/gmd-15-1499-2022

How to generate cross-shore transects and points in ArcMap?
Create polylines to delimit seaward and landward extent of transects. Generate equally-spaced points along the seaward polyline (Generate Points along Lines). Add a new field to the Attribute Table of the point shapefile (Calculate Field: ID = FID + 1). Copy the point shapefile. Get the locations of the nearest points along the landward polyline for the point shapefile (Near; tick ‘location’). Extract those nearest points along the landward polyline (Make XY Event Layer of the Near location in point Attribute Table). Append the new point layer to the copied point shapefile (Data Management > Append; 'no test'). Add a new field to the Attribute Table of the appended shapefile (Calculate Field: ID_1 = ID). Convert points to a polyline (Points to Line; field: ID_1). Densify polyline to desired interval (Densify) and use it to create a point shapefile (Feature Vertices to Points). Extract the elevation values for points from DEM (Extract Values to Points). Calculate the distance to the seaward polyline (Near). Export the Attribute Table. For repetitive surveys generate the points only once, and then update only the elevation.

How to import outputs into ArcMap?
Starting from v1.2.0 it is possible to include XY coordinates as point properties and directly import them as XY layer in GIS software.
For data with no XY information, join the point shapefile with the text file output of CliffDelineaTool (Add Join; use point ID as the 'join field'). Select points that have any values in the model output columns of the Attribute Table (Select by Attribute; e.g. 'Field1>0').