diff --git a/templates/expo.kml b/templates/expo.kml new file mode 100644 index 0000000..9179ee9 --- /dev/null +++ b/templates/expo.kml @@ -0,0 +1,106 @@ + + + + Expo.KML + + + + + normal + #default0 + + + highlight + #hl + + + + Expo.KML +{% for entrance in entrances %} + {% if entrance.latlong %} + + {{ entrance.slug }} + + {% if entrance.marking %} +
Marking
{{ entrance.marking_val|safe }}
+ {% endif %} + {% if entrance.marking_comment %} +
Marking Comment
{{ entrance.marking_comment|safe }}
+ {% endif %} + {% if entrance.findability %} +
Findability
{{ entrance.findability_val|safe }}
+ {% endif %} + {% if entrance.findability_comment %} +
Findability Comment
{{ entrance.findability_comment|safe }}
+ {% endif %} + {% if entrance.location_description %} +
Location
{{ entrance.location_description|safe }}
+ {% endif %} + {% if entrance.approach %} +
Approach
{{ entrance.approach|safe }}
+ {% endif %} + {% if entrance.map_description %} +
Map
{{ entrance.map_description|safe }}
+ {% endif %} + {% if entrance.underground_description %} +
Underground
{{ entrance.underground_description|safe }}
+ {% endif %} + {% if entrance.photo %} +
Photo
{{ entrance.photo|safe }}
+ {% endif %} + {% if entrance.entrance_description %} +
Description
{{ entrance.entrance_description|safe }}
+ {% endif %} + {% if entrance.explorers %} +
Explorers
{{ entrance.explorers|safe }}
+ {% endif %} + {% if entrance.northing %} +
Location
?BMN? Northing: {{ entrance.northing|safe }}, Easting: {{ entrance.easting|safe }}, {{ entrance.alt|safe }}m
+ {% endif %} + {% if entrance.tag_station %} +
Tag Location
{{ entrance.tag_station }} UTM33 {{ entrance.tag.y|floatformat:0 }}, {{ entrance.tag.x|floatformat:0 }}, {{ entrance.tag.z|floatformat:0 }}m
+ {% endif %} + {% if entrance.bearings %} +
Bearings
{{ entrance.bearings|safe }}
+ {% endif %} + {% if entrance.exact_station %} +
Exact Station
{{ entrance.exact_station|safe }} UTM33 {{ entrance.exact_location.y|floatformat:0 }}, {{ entrance.exact_location.x|floatformat:0 }}, {{ entrance.exact_location.z|floatformat:0 }}m
+ {% endif %} + {% if entrance.other_station %} +
Other Station
{{ 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 +
+ {% endif %} + ]]>
+ #default + + {{ entrance.latlong.1 }},{{ entrance.latlong.0 }},0 + +
+ {% endif %} +{% endfor %} +
+
+