summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-11-14 19:43:49 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2023-11-14 19:43:49 +0200
commit7b67eb52dc98eab936b8000216a0132b4153d642 (patch)
treea6be030d36fb71bd15e6edf1291e63a0b79512e6 /core/utils.py
parent680477d2d557a4dffdab88d6e5e78ccd239dec1c (diff)
downloadtroggle-7b67eb52dc98eab936b8000216a0132b4153d642.tar.gz
troggle-7b67eb52dc98eab936b8000216a0132b4153d642.tar.bz2
troggle-7b67eb52dc98eab936b8000216a0132b4153d642.zip
re-enable /map/tools/
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py
index 99acfb3..12f7615 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -312,7 +312,7 @@ def find_nearest_point(points, target_point):
"""Returns the nearest point to a target point from a list of points.
TODO FIND OUT
- 1. is this SRTM data ?
+ 1. is this SRTM data ? TICK. Yes.
2. what is the zero altitude datum? Geoid or ellisoid ? Do we need to subtract 47m ??
In our dataset, the survey stations are all within 30m of an srtm reference point.
@@ -361,6 +361,9 @@ def find_nearest_point(points, target_point):
; TerrainTool (c) 2008 - 2012 Mike McCombe
"""
#let raw = [[406264.72, 5278037.57, 873.53],
+#first version:
+#rawheights = [[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],