From 25e5f5ccde18eb5486fcb071564b4b7bd6afb62b Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 18 Jul 2025 22:18:01 +0200 Subject: [PATCH] add OSMand version of OSM online --- templates/cave.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/cave.html b/templates/cave.html index c7aa579f0..6a7cb1031 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -187,7 +187,9 @@ Nope, it is not useful, removing it... Philip S. {% endif %} {% if ent.entrance.lat_wgs84 %} -
Location
WGS84 Lat.: {{ ent.entrance.lat_wgs84|floatformat:7 }} N, Long.:{{ ent.entrance.long_wgs84|floatformat:7 }} E
+
Location
+WGS84 Lat.: {{ ent.entrance.lat_wgs84|floatformat:7 }} N, Long.:{{ ent.entrance.long_wgs84|floatformat:7 }} E +

This would be eventually replaced with something like this in the appropriate gps file in the fixedpts/gps/ folder for the kataster area {{cave.areacode}} :

*begin 
@@ -200,6 +202,9 @@ to equate p{{ ent.entrance.name|lower|safe }} to the actual survey st
         {% endif %}
         {% if ent.entrance.tag_station %}
             
Tag Location
{{ ent.entrance.tag_station }} {{ ent.entrance.tag.latlong.0|floatformat:5 }}N {{ ent.entrance.tag.latlong.1|floatformat:5 }}E (UTM33 {{ ent.entrance.tag.x|floatformat:0 }}, {{ ent.entrance.tag.y|floatformat:0 }}), {{ ent.entrance.tag.z|floatformat:0 }}m (SRTM is {{ ent.entrance.tag.srtm_diff.0|safe }} m, distance from reference: {{ent.entrance.tag.srtm_alt.1|floatformat:0}}m) + + +OSMand
{% endif %} {% if ent.entrance.bearings %} @@ -210,6 +215,8 @@ to equate p{{ ent.entrance.name|lower|safe }} to the actual survey st {% if ent.entrance.other_description %} - {{ ent.entrance.other_description|safe }} {% endif %} {{ ent.entrance.other_location.latlong.0|floatformat:7 }}N {{ ent.entrance.other_location.latlong.1|floatformat:7 }}E (UTM33 {{ ent.entrance.other_location.x|floatformat:0 }}, {{ ent.entrance.other_location.y|floatformat:0 }}), {{ ent.entrance.other_location.z|floatformat:0 }}m (SRTM is {{ ent.entrance.other_location.srtm_diff.0|safe }}m, distance from reference: {{ent.entrance.other_location.srtm_alt.1|floatformat:0}}m) + +OSMand {% endif %}