mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 17:37:08 +00:00
add OSMand version of OSM online
This commit is contained in:
@@ -187,7 +187,9 @@ Nope, it is not useful, removing it... Philip S.
|
||||
{% endif %}
|
||||
|
||||
{% if ent.entrance.lat_wgs84 %}
|
||||
<dt>Location</dt><dd><a href="https://www.openstreetmap.org/?mlat={{ ent.entrance.lat_wgs84|floatformat:7}}&mlon={{ent.entrance.long_wgs84|floatformat:7}}">WGS84 Lat.: {{ ent.entrance.lat_wgs84|floatformat:7 }} N, Long.:{{ ent.entrance.long_wgs84|floatformat:7 }} E</a></dd>
|
||||
<dt>Location</dt><dd><a href="https://www.openstreetmap.org/?mlat={{ ent.entrance.lat_wgs84|floatformat:7}}&mlon={{ent.entrance.long_wgs84|floatformat:7}}">
|
||||
WGS84 Lat.: {{ ent.entrance.lat_wgs84|floatformat:7 }} N, Long.:{{ ent.entrance.long_wgs84|floatformat:7 }} E</a>
|
||||
</dd>
|
||||
<p>This would be eventually replaced with something like this in the appropriate gps file in the <var>fixedpts/gps/</var> folder
|
||||
for the kataster area <var>{{cave.areacode}}</var> :
|
||||
<pre><code>*begin
|
||||
@@ -200,6 +202,9 @@ to equate <var>p{{ ent.entrance.name|lower|safe }}</var> to the actual survey st
|
||||
{% endif %}
|
||||
{% if ent.entrance.tag_station %}
|
||||
<dt>Tag Location</dt><dd>{{ ent.entrance.tag_station }} <a href="https://www.openstreetmap.org/?mlat={{ ent.entrance.tag.latlong.0}}&mlon={{ent.entrance.tag.latlong.1}}">{{ ent.entrance.tag.latlong.0|floatformat:5 }}N {{ ent.entrance.tag.latlong.1|floatformat:5 }}E</a> (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)
|
||||
|
||||
|
||||
<a href="https://osmand.net/map/?pin={{ ent.entrance.tag.latlong.0}},{{ ent.entrance.tag.latlong.1}}#20/{{ ent.entrance.tag.latlong.0|floatformat:7}}/{{ent.entrance.tag.latlong.1|floatformat:7}}">OSMand</a>
|
||||
</dd>
|
||||
{% endif %}
|
||||
{% if ent.entrance.bearings %}
|
||||
@@ -210,6 +215,8 @@ to equate <var>p{{ ent.entrance.name|lower|safe }}</var> to the actual survey st
|
||||
{% if ent.entrance.other_description %}
|
||||
- {{ ent.entrance.other_description|safe }}
|
||||
{% endif %} <a href="https://www.openstreetmap.org/?mlat={{ ent.entrance.other_location.latlong.0}}&mlon={{ent.entrance.other_location.latlong.1}}"> {{ ent.entrance.other_location.latlong.0|floatformat:7 }}N {{ ent.entrance.other_location.latlong.1|floatformat:7 }}E</a> (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)
|
||||
|
||||
<a href="https://osmand.net/map/?pin={{ ent.entrance.other_location.latlong.0}},{{ ent.entrance.other_location.latlong.1}}#20/{{ ent.entrance.other_location.latlong.0|floatformat:7}}/{{ent.entrance.other_location.latlong.1|floatformat:7}}">OSMand</a>
|
||||
</dd>
|
||||
{% endif %}
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user