Share Email Print
cover

Proceedings Paper

The algorithm of creating contour lines based on DEM
Author(s): Lihua Tang; Ai-jun Xu; Lu-ming Fang
Format Member Price Non-Member Price
PDF $14.40 $18.00

Paper Abstract

Contour line is a closed curve that joined by points of the same elevation. This paper puts forward a new algorithm of creating contour line based on DEM, which uses the method of tracking the same elevation point to study the algorithm based on regular grid. This paper will be divided the algorithm of creating contour line into four sub-algorithms, namely: the algorithm of elevation comparison; the algorithm of calculating the same elevation point coordinates; the algorithm of tracking next point of the same elevation, the algorithm of tracking contour line. The algorithm of elevation comparison is mainly used in judging whether a contour line with appointed elevation passes through a side of the grid; the algorithm of calculating the same elevation point coordinates is used to calculate coordinates of contour lines across the grid's side; function of the algorithm of tracking next point of the same elevation is to track next point of the same elevation by following the trend of contour lines; the algorithm of tracking contour line aims in tracking coordinates of the point which has the equal value of elevation with the point in row x and column y.

Paper Details

Date Published: 11 November 2008
PDF: 10 pages
Proc. SPIE 7146, Geoinformatics 2008 and Joint Conference on GIS and Built Environment: Advanced Spatial Data Models and Analyses, 71462T (11 November 2008); doi: 10.1117/12.813199
Show Author Affiliations
Lihua Tang, Zhejiang Forestry Univ. (China)
Ai-jun Xu, Zhejiang Forestry Univ. (China)
Lu-ming Fang, Zhejiang Forestry Univ. (China)


Published in SPIE Proceedings Vol. 7146:
Geoinformatics 2008 and Joint Conference on GIS and Built Environment: Advanced Spatial Data Models and Analyses
Lin Liu; Xia Li; Kai Liu; Xinchang Zhang, Editor(s)

© SPIE. Terms of Use
Back to Top