diff --git a/core/models/survex.py b/core/models/survex.py index 4c2c109..8999810 100644 --- a/core/models/survex.py +++ b/core/models/survex.py @@ -86,14 +86,16 @@ class SurvexStation(models.Model): diff = alt - self.z if diff >= 0: colour = "blue" + sign = "+" else: colour = "red" + sign = "" if abs(diff) > 60: weight = "bold" else: weight = "normal" - diff_str = f"{diff:.0f}" + diff_str = f"{sign}{diff:.0f}" return diff_str, ref diff --git a/templates/entranceindex.html b/templates/entranceindex.html index 115c33b..6c26c9d 100644 --- a/templates/entranceindex.html +++ b/templates/entranceindex.html @@ -16,10 +16,12 @@
This next table is of all the survex stations in troggle: i.e. only those survey stations which have been identified with an Entrance by manually editing the Entrance data.
Survex Station | x | y | lat. | long. | alt | SRTM alt | SRTM ref | Used on ent | Cave | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Survex Station | x | y | lat. | long. | alt | SRTM alt | SRTM ref | Used on this Entrance | Cave | |||||||||||||||||||||
{{s.name|safe}} | +{{s.name|safe}} | {{s.x|floatformat:2}} | {{s.y|floatformat:2}} | {{s.lat|floatformat:6}} | {{s.long|floatformat:6}} | {{s.z|floatformat:0}} | {{s.srtm_diff.0|safe}} | -{{s.srtm_diff.1|floatformat:0}}m | -{{s.entrance|safe}} | +{{s.srtm_diff.1|floatformat:0}} | +{{s.entrance|safe}} |
{% if s.entrance.firstcave.official_name %}
{{s.entrance.firstcave.official_name|safe}}
@@ -41,52 +47,10 @@
The SRTM altitude is that measured at a nearby reference point. The horizontal distance between the survey station and the SRTM reference point is shown in the "SRTM ref" column. It is always less than 35m for our dataset. Differences between the recorded altitude and the SRTM altitude are in bold if the discrepancy is more than 60m vertically. -
-Coordinate systems in Austria are explained in: The data in the table immediately below has been hand-entered and is sometimes very wrong. - The Lat. Long. coordinates are manually entered using a phone or a hand-held GPS device at (or near) the entrance. - For the Cave column, if there is an official cave name, then it is shown. -Otherwise whatever other name we can find for it is shown in italics. - - - -
and now the GPS equivalents+These caves have GPS data directly on them, not via survex survey stations+Because these are only vague locations identified from aerial photos, they have not +been surveyed to.
|