Creating horizon line

Hello,
I was wondering if it's possible in some way to create a list of points describing the horizon line as seen from a specific point based on terrain data. It should be a list with a column of azimuth values and a column of angle values where the angle is the one at which you can see the sky over the terrain.
Example:
-180 1
-175 1
-170 1
-165 1
-160 1
-155 0
-150 0
-145 0
-140 0
-135 0
-130 0
-125 0
-120 0
-115 0
-110 0
-105 0
-100 0
-95 0
-90 0
-85 0
-80 0
-75 0
-70 0
-65 0
-60 0
-55 0
-50 0
-45 0
-40 0
-35 0
-30 0
-25 0
-20 0
-15 0
-10 0
-5 0
0 0
5 0
10 0
15 0
20 0
25 0
30 0
35 0
40 0
45 0
50 0
55 0
60 0
65 0
70 0
75 1
80 2
85 4
90 5
95 6
100 6
105 7
110 7
115 7
120 7
125 7
130 7
135 7
140 6
145 5
150 3
155 2
160 2
165 2
170 1
175 1
180 1
The sampling for this calculation should ideally be 1 degree for both columns. Also a scripting solution is fine.
Any help in this matter is welcome,
Thanks and best regards.
Michele
Sign In or Register to comment.