diff --git a/core/views/statistics.py b/core/views/statistics.py index ebe70dd..f056ab1 100644 --- a/core/views/statistics.py +++ b/core/views/statistics.py @@ -281,6 +281,8 @@ def eastings(request): for e in entrances: if e.easting or e.northing: ents.append(e) + if e.lat_wgs84 or e.long_wgs84: + ents.append(e) stations = SurvexStation.objects.all() diff --git a/templates/eastings.html b/templates/eastings.html index 235db76..3def5c3 100644 --- a/templates/eastings.html +++ b/templates/eastings.html @@ -18,13 +18,18 @@ Coordinate systems in Austria are explained in:
Basic Coordinate Systems.

The data in the table immediately below has been hand-entered and is sometimes very wrong. +

The Lat. Long. coordinates are manually entered using a phone or a hand-held GPS device at (or near) the entrance.

For the Cave column, if there is an official cave name, then it is shown. Otherwise whatever other name we can find for it is shown in italics. For the Entrance column, if the entrance has a name (e.g. Grüner Eingang in Schwarzmooskogeleishöhle) then it is shown. Otherwise it says "Anon:" followed by whatever other name we can find for it, usually the entrance id slug, in italics. - + - + {% for ent in ents %} + +
CaveEntranceEastingNorthingtagtag exacttag otherslug
CaveEntranceEastingNorthingLatLongtagtag exacttag otherslug
@@ -45,6 +50,8 @@ For the Entrance column, if the entrance has a name (e.g. Grüner Eingang in {{ent.easting|floatformat:2}} {{ent.northing|floatformat:2}}{{ent.lat_wgs84|floatformat:6}}{{ent.long_wgs84|floatformat:6}} {{ent.tag_station}} {{ent.exact_station}} {{ent.other_station}}