diff --git a/templates/cave.html b/templates/cave.html index 7063894..c7aa579 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -188,14 +188,15 @@ Nope, it is not useful, removing it... Philip S. {% if ent.entrance.lat_wgs84 %}
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: +

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 
 *cs out UTM33
 *cs LONG-LAT
 *fix p{{ ent.entrance.name|lower|safe }} {{ent.entrance.long_wgs84|floatformat:7}} {{ ent.entrance.lat_wgs84|floatformat:7 }} {% if ent.entrance.alt %}{{ ent.entrance.alt|safe }}{% else%}0.0{% endif %}
 *end
and the appropriate *equate and *entrance fields in the survex file {{cave.survex_file|safe}} -to equate p{{ ent.entrance.name|lower|safe }} to the actual survey station. +to equate p{{ ent.entrance.name|lower|safe }} to the actual survey station. The WGS84 fields on the entrance edit form would be deleted, and a Tag/Other survex station id to {{cave.areacode}}.p{{ ent.entrance.name|lower|safe }} used instead. {% 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)