How it works
Every number here is computed for the pin, so a click on the map (or a at=lon,lat in the
hash) tells the same story for somewhere else. The map is drawn in the pin's own UTM zone: its eastings
and northings are the canvas, so the grid lines are straight and the meridians, parallels and coastlines
bend. OpenStreetMap tiles are warped into the grid a few triangles at a time; the coastlines are Natural
Earth's, projected point by point.
The projection is the transverse Mercator in Krueger's series to sixth order (Karney 2011), the method
PROJ's tmerc uses, on WGS84 (GRS80 for MGA, a tenth of a millimetre away here). The point
scale and grid convergence are differenced along the meridian; test/check-gridref.mjs
compares them, the eastings and northings and each zone's false origin with PROJ
(test/make-gridref-fixture.py). The street directory is made up: its pages are 4 km by 5 km
cut from the kilometre grid in each 100 km square, numbered across then down, with 500 m squares
lettered A to H and numbered 1 to 10. Real directories each have their own scheme. In Tasmania the page uses
the real books instead: the street atlas and map book pages theLIST publishes, looked up after taking the pin from
GDA2020 to GDA94 (src/core/mapref.js, checked in test/check-mapref.mjs), and a second
part of the story explains them.
Hash keys: s (step, from 0), at (lon,lat of the pin).
- Map tiles and street data © OpenStreetMap contributors.
- Coastlines from Natural Earth (public domain).
- Tasmanian street atlas and map book pages and squares: the LIST
© State of Tasmania (CC BY 3.0 AU), from its SearchService layers, tabulated in GDA94 / MGA zone 55
(
data/tas-mapref.json, made by test/make-mapref-data.py).
- Tasmanian basemaps: the LIST © State of Tasmania, its
Topographic tiles (CC BY 3.0 AU) under the street steps and its Emergency Services map book tiles
(
ESgisMapBookPUBLIC) under the map book steps.
- PROJ for the reference values; projection definitions from the
EPSG Geodetic Parameter Dataset (GDA2020 / MGA zone 55 is EPSG:7855,
GDA94 / MGA zone 55 EPSG:28355, WGS 84 / UTM zone 55S EPSG:32755).
- Karney, C. F. F. (2011) Transverse Mercator with an accuracy of a few nanometers, J. Geodesy 85, 475.
Snyder, J. P. (1987) Map Projections: A Working Manual, USGS Professional Paper 1395 (UTM and UPS).
- NGA (2014) The Universal Grids and the Transverse Mercator and Polar Stereographic Map
Projections, NGA.SIG.0012 (zones, bands, the Norway and Svalbard exceptions, UPS, MGRS).
- ICSM, Geocentric Datum of Australia 2020 Technical Manual (MGA, GDA94 and GDA2020).