Abstract
Viewshed analysis is widely used in many terrain applications such as siting problem, path planning problem, and etc. But viewshed computation is very time-consuming, in particular for applications with large-scale terrain data. Parallel computing as a mainstream technique with the tremendous potential has been introduced to enhance the computation performance of viewshed analysis. This paper presents a revised parallel viewshed computation approach based on the existing serial XDraw algorithm in a distributed parallel computing environment. A layered data-dependent model for processing data dependency in the XDraw algorithm is built to explore scheduling strategy so that a fine-granularity scheduling strategy on the process-level and thread-level parallel computing model can be accepted to improve the efficiency of the viewshed computation. And a parallel computing algorithm, XDraw-L, is designed and implemented taken into account this scheduling strategy. The experimental results demonstrate a distinct improvement of computation performance of the XDraw-L algorithm in this paper compared with the coarse-partition algorithm, like XDraw-E which is presented by Song et al. (Earth Sci Inf 10(5):511–523, 2016), and XDraw-B that is the basic algorithm of serial XDraw. Our fine-granularity scheduling algorithm can greatly improve the scheduling performance of the grid cells between the layers within a triangle region.
Similar content being viewed by others
References
Cauchi-Saunders AJ, Lewis IJ (2015) GPU enabled XDraw viewshed analysis. J Parallel Distrib Comput 84:87–93
Cervilla A, Tabik S, Romero L (2015) Siting multiple observers for maximum coverage: an accurate approach. Procedia Comput Sci 51:356–365
De Floriani L, Montani C, Scopigno R (1994) Parallelizing visibility computations on triangulated terrains. Int J Geogr Inf Syst 8(6):515–531
Fang C, Yang C, Chen Z, Yao X, Guo H (2011) Parallel algorithm for viewshed analysis on a modern GPU. Int J Digital Earth 4(6):471–486
Fisher PF (1992) First experiments in viewshed uncertainty: simulating fuzzy viewsheds. Photogramm Eng Remote Sens 58(3):345–352
Fishman J, Haverkort H, Toma L (2009) Improved visibility computation on massive grid terrains. In: Agrawal D, Aref WG et al (eds) Proceedings of the 17th ACM Conference on advances in geographic information systems, 4–6, 2009. ACM, Seattle, pp 121–130
Franklin WR, Ray CK, Mehta S (1994) Geometric algorithms for siting of air defense missile batteries. Research Project for Battle, Columbus Division, Delivery Order No. 2756
Gao Y, Yu H, Liu Y, Liu Y, Liu M, Zhao Y (2011) Optimization for viewshed analysis on GPU. In: Li X, Bao SM (eds) 19th IEEE International Conference on Geoinformatics, IEEE, Shanghai, 24–26 June 2011, pp 1–5
Izraelevitz D (2003) A fast algorithm for approximate viewshed computation. Photogramm Eng Remote Sens 69(7):767–774
Kidner D, Ralings P, Ware J (1997) Parallel processing for terrain analysis in GIS: visibility as a case study. GeoInformatica 1(2):183–207
Kim Y, Rana S, Wise S (2004) Exploring multiple viewshed analysis using terrain features and optimization techniques. Comput Geosci 30(9–10):1019–1032
Mills K, Fox G, Heimbach R (1992) Implementing an intervisibility analysis model on a parallel computing system. Comput Geosci 18(8):1047–1054
Qin CZ, Zhan LJ et al (2014) A strategy for raster-based geocomputation under different parallel computing platform. Int J Geogr Inf Sci 28(11):2127–2144
Song X, Tang G, Liu X, Dou W, Li F (2016) Parallel viewshed analysis on a PC cluster system using triple-based irregular partition scheme. Earth Sci Inf 10(5):511–523
Tabik S, Zapata EL, Romera LF (2012) Simultaneous computation of total viewshed on high resolution grids. Int J Geogr Inf Sci 27(4):804–814
Tang G, D’azevedo EF, Zhang F et al (2010) Application of a hybrid MPI/OpenMP approach for parallel groundwater model calibration using multi-core computers. Comput Geosci 36(11):1451–1460
Teng YA, DeMenthon D, Davis LS (1993) Stealth terrain navigation. IEEE Trans Syst Man Cybern 23(1):96–110
Wang S, Armstrong MP (2003) A quadtree approach to domain decomposition for spatial interpolation in Grid computing environments. Parallel Comput 29(10):1481–1504
Wang Y, Dou Y, Guo S, Lei Y, Zou D (2014) CPU-GPU hybrid parallel strategy for cosmological simulations. Concurr Comp Pract E 26(3):748–765
Warn S (2011) High performance geospatial analysis on emerging parallel architectures. Thesis and Dissertations, 156, University of Arkansas, Fayetteville
Wu H, Pan M, Yao L, Luo B (2007) A partition-based serial algorithm for generating viewshed on massive DEMs. Int J Geogr Inf Sci 21(9):955–964
Yu TX, Xiong LY, Gao M, Wang Z, Wang ZH, Zhang YC, Tang GA (2016) A new algorithm based on region partitioning for filtering candidate viewpoints of a multiple view shed. Int J Geogr Inf Sci 30(11):2171–2187
Zhao Y, Padmanabhana A, Wang S (2013) A parallel computing approach to viewshed analysis of large terrain data using graphics processing units. Int J Geogr Inf Sci 27(2):363–384
Acknowledgments
This work was partly supported by the National Natural Science Foundation of China (No. 41771411).
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by: H. A. Babaie
Rights and permissions
About this article
Cite this article
Dou, W., Li, Y. & Wang, Y. A fine-granularity scheduling algorithm for parallel XDraw viewshed analysis. Earth Sci Inform 11, 433–447 (2018). https://doi.org/10.1007/s12145-018-0339-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12145-018-0339-5