summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/utils.py b/core/utils.py
index 5d2d262..a76f41f 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -344,6 +344,21 @@ def find_nearest_point(points, target_point):
nearest_distance = math.sqrt(nearest_distance_squared)
return nearest_point_alt, nearest_distance
+# This data was extarcted by Radost:
+# The original source of heights (and positions is the file)
+# loser/surface/terrain/SRTM-7x9-M31-482-279-offset.svx
+"""
+; Survex terrain data created by TerrainTool version 1.12a from Shuttle Radar Topography Mission data
+; SRTM DEM data is public-domain.
+; Used coordinate system AustrianM31 with ellipsoid "Bessel 1841" and datum "MGI Datum (Austria)"
+; Grid centred at XXX 488000 283750
+; Lat/Long of centre = 47.691318 13.838777 ( 13 E 50' 19.6" 47 N 41' 28.7") relative to WGS84/GRS80 datum
+; Grid convergence at centre = -0.374 degrees ( 0 W 22' 27.9")
+; Point scale factor at centre = 1.0000177
+; Output offset by adding (-450000.00,-200000.00, 0.00) to calculated results;
+; TerrainTool (c) 2008 - 2012 Mike McCombe
+"""
+#let raw = [[406264.72, 5278037.57, 873.53],
rawheights = [[406264.72, 5278037.57, 873.53],
[406314.69, 5278036.50, 861.60],
[406364.66, 5278035.43, 852.51],