blob: 9179ee9b4d591f855e9212d232b29b25546b0902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Expo.KML</name>
<Style id="default0">
<IconStyle>
<scale>0.7</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/placemark_circle.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>0.7</scale>
</LabelStyle>
</Style>
<Style id="hl">
<IconStyle>
<scale>0.84</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/shapes/placemark_circle_highlight.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>0.7</scale>
</LabelStyle>
</Style>
<StyleMap id="default">
<Pair>
<key>normal</key>
<styleUrl>#default0</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#hl</styleUrl>
</Pair>
</StyleMap>
<Folder>
<name>Expo.KML</name>
{% for entrance in entrances %}
{% if entrance.latlong %}
<Placemark>
<name>{{ entrance.slug }}</name>
<description><![CDATA[ <dl>
{% if entrance.marking %}
<dt>Marking</dt><dd>{{ entrance.marking_val|safe }}</dd>
{% endif %}
{% if entrance.marking_comment %}
<dt>Marking Comment</dt><dd>{{ entrance.marking_comment|safe }}</dd>
{% endif %}
{% if entrance.findability %}
<dt>Findability</dt><dd>{{ entrance.findability_val|safe }}</dd>
{% endif %}
{% if entrance.findability_comment %}
<dt>Findability Comment</dt><dd>{{ entrance.findability_comment|safe }}</dd>
{% endif %}
{% if entrance.location_description %}
<dt>Location</dt><dd>{{ entrance.location_description|safe }}</dd>
{% endif %}
{% if entrance.approach %}
<dt>Approach</dt><dd>{{ entrance.approach|safe }}</dd>
{% endif %}
{% if entrance.map_description %}
<dt>Map</dt><dd>{{ entrance.map_description|safe }}</dd>
{% endif %}
{% if entrance.underground_description %}
<dt>Underground</dt><dd>{{ entrance.underground_description|safe }}</dd>
{% endif %}
{% if entrance.photo %}
<dt>Photo</dt><dd>{{ entrance.photo|safe }}</dd>
{% endif %}
{% if entrance.entrance_description %}
<dt>Description</dt><dd>{{ entrance.entrance_description|safe }}</dd>
{% endif %}
{% if entrance.explorers %}
<dt>Explorers</dt><dd>{{ entrance.explorers|safe }}</dd>
{% endif %}
{% if entrance.northing %}
<dt>Location</dt><dd>?BMN? Northing: {{ entrance.northing|safe }}, Easting: {{ entrance.easting|safe }}, {{ entrance.alt|safe }}m</dd>
{% endif %}
{% if entrance.tag_station %}
<dt>Tag Location</dt><dd>{{ entrance.tag_station }} UTM33 {{ entrance.tag.y|floatformat:0 }}, {{ entrance.tag.x|floatformat:0 }}, {{ entrance.tag.z|floatformat:0 }}m</dd>
{% endif %}
{% if entrance.bearings %}
<dt>Bearings</dt><dd>{{ entrance.bearings|safe }}</dd>
{% endif %}
{% if entrance.exact_station %}
<dt>Exact Station</dt><dd>{{ entrance.exact_station|safe }} UTM33 {{ entrance.exact_location.y|floatformat:0 }}, {{ entrance.exact_location.x|floatformat:0 }}, {{ entrance.exact_location.z|floatformat:0 }}m</dd>
{% endif %}
{% if entrance.other_station %}
<dt>Other Station</dt><dd>{{ entrance.other_station|safe }}
{% if entrance.other_description %}
- {{ entrance.other_description|safe }}
{% endif %} UTM33 {{ entrance.other_location.y|floatformat:0 }}, {{ entrance.other_location.x|floatformat:0 }}, {{ entrance.other_location.z|floatformat:0 }}m
</dd>
{% endif %}
</dl> ]]></description>
<styleUrl>#default</styleUrl>
<Point>
<coordinates>{{ entrance.latlong.1 }},{{ entrance.latlong.0 }},0</coordinates>
</Point>
</Placemark>
{% endif %}
{% endfor %}
</Folder>
</Document>
</kml>
|