This repository contains the methodology for detecting the trees in a project carried out for Rijkswaterstaat by the VU.
conda env create -f environment.yml --name <name>
activate <name>
run: python3 main.py
- Read points from the EPT
- PDAL filters for
- filter based on return number, classification and ground
- read points into class
- HDBSCAN on XY
- assing cluster id
- polygonize clusters with convex hull
- get points in polygon (for better control over which points to filter in the next clustering step)
- kmeans cluster with low number of iterations
- assing cluster id
- polygonize clusters based on unique combination of the two cluster id's
The code depends on a input dataset developed by Geodan BV. The input dataset is an entwined point tile (EPT) and is replacable. If you wish to use the Geodan EPT, please contact the owner of the repository.