Next Article in Journal
Application of Adaptive ε-IZOA-Based Optimization Algorithm in the Optimal Scheduling of Reservoir Clusters
Previous Article in Journal
Optimizing the Coordinated Regulation of Storage and Discharge Across Regions in Plain City Under Extreme Rainfall Scenarios
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Digital-Elevation-Model-Based Flow Direction Estimation Using Priority Queue with Flow Distance and Zigzag Route Considerations

1
The National Key Laboratory of Water Disaster Prevention, Hohai University, Nanjing 210024, China
2
College of Hydrology and Water Resources, Hohai University, Nanjing 210024, China
3
Nanjing NARI Water Resources and Hydropower Technology Co., Ltd., Nanjing 211000, China
*
Author to whom correspondence should be addressed.
Water 2025, 17(9), 1273; https://doi.org/10.3390/w17091273
Submission received: 22 March 2025 / Revised: 21 April 2025 / Accepted: 23 April 2025 / Published: 24 April 2025
(This article belongs to the Section Hydraulics and Hydrodynamics)

Abstract

Extracting drainage networks from a digital elevation model (DEM) with massive cells is time-consuming due to depressions and flats, where flow paths to the outlet cannot be extracted using downslope gradients. Algorithms based on a priority queue are an efficient solution for this task. However, the existing algorithms depend on the insertion order in a priority queue to determine flow directions for cells with equal elevation. This dependency increases the sorting time in the priority queue. Our study developed an improved algorithm (referred to as DZFlood), adopting a dual priority queue. The queue considers elevation and flow distance to outlets. Cells sharing equal elevation and flow distance can be randomly arranged to reduce time costs. A secondary correction is applied to select a more tortuous yet shortest flow path for each flat cell. The visual assessment results show that the flow paths derived by DZFlood are more accurate than five existing algorithms and consistent with the real rivers and lakes. The computation efficiency of DZFlood is 19.2% faster, on average, than that of another priority-queue-based algorithm named LCP. The relative difference between their runtimes is greater when a larger DEM is used. Over a DEM with 3 × 108 cells, DZFlood performs at least 28% faster than LCP.
Keywords: digital elevation model; drainage network extraction; flow direction; priority-flood algorithm digital elevation model; drainage network extraction; flow direction; priority-flood algorithm

Share and Cite

MDPI and ACS Style

Wu, P.; Liu, J.; Xv, K.; Han, X. Efficient Digital-Elevation-Model-Based Flow Direction Estimation Using Priority Queue with Flow Distance and Zigzag Route Considerations. Water 2025, 17, 1273. https://doi.org/10.3390/w17091273

AMA Style

Wu P, Liu J, Xv K, Han X. Efficient Digital-Elevation-Model-Based Flow Direction Estimation Using Priority Queue with Flow Distance and Zigzag Route Considerations. Water. 2025; 17(9):1273. https://doi.org/10.3390/w17091273

Chicago/Turabian Style

Wu, Pengfei, Jintao Liu, Kaili Xv, and Xiaole Han. 2025. "Efficient Digital-Elevation-Model-Based Flow Direction Estimation Using Priority Queue with Flow Distance and Zigzag Route Considerations" Water 17, no. 9: 1273. https://doi.org/10.3390/w17091273

APA Style

Wu, P., Liu, J., Xv, K., & Han, X. (2025). Efficient Digital-Elevation-Model-Based Flow Direction Estimation Using Priority Queue with Flow Distance and Zigzag Route Considerations. Water, 17(9), 1273. https://doi.org/10.3390/w17091273

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop