Code
Ways of writing that hide nothing by design — bases, bits, binary formats, floats, Unicode, Morse, QR codes, Roman numerals, timestamps, coordinates, check digits — read and written both ways.
Coordinates
Writes a place in degrees (three notations), UTM and MGRS on WGS 84, the IARU’s Maidenhead locator, a geohash and a Plus Code, and reads each back, or a place’s name from Natural Earth’s populated places; the distance and bearings between two places by Vincenty’s inverse solution (1975). UTM by Krüger’s series as Karney gives them (2011). A code names a cell; read back, the place is its centre.
History, how it works, how it was checked, limits
History
The IARU’s locator was defined in 1980 so that radio amateurs could give their place in a few letters and digits, a field of 20° by 10°, a square of 2° by 1°, a subsquare of 5′ by 2.5′ (IARU Region 1 VHF Managers Handbook, §20.2). Gustavo Niemeyer’s geohash (2008) writes a place as interleaved halvings of longitude and latitude in base 32; Google’s Open Location Code, the Plus Code, as pairs of base-20 digits. UTM and MGRS divide the Earth into transverse Mercator zones of 6°. Vincenty’s formulae (1975) give distances on an ellipsoid.
How it works
A place is typed in any notation, read as the one it fits, or as the one chosen, or by its name, from Natural Earth’s 7,341 places, looked up on the device. Degrees are written in three notations. UTM follows Krüger’s series to the sixth power of the third flattening as Karney gives them (2011), on WGS 84 with a scale of 0.9996 on the central meridian; MGRS letters the 100-kilometre squares and truncates, as GeoConvert does. A code names a cell: read back, the place is its centre and the cell is said. With a second place, Vincenty’s inverse gives the distance along the geodesic and the bearing at each end. The map shows the places and the geodesic; a code is drawn character by character, the cell chosen in gold.
How it was checked
The tests give the IARU handbook’s own test cases, the poles, the equator at 0° and 180°, Antarctica and the Eiffel Tower to ten characters, and the centre and edges it prints for JN18DU; GeoConvert’s examples of UTM and MGRS, among them 38SMB4488 and 32CMS4328; rows of the Open Location Code’s test data, both ways; and Vincenty’s five test lines of 1975, the distances within a millimetre. A geohash is tested against the two Redis gives.
The tests hold 45 checks of this tool; 1 rests on outside material:
- A print’s own example IARU handbook §20.2.7: JN18DU’s centroid and its squaroid’s edges as printed (the table’s longitude and latitude columns swapped)
Limits
Places by name are Natural Earth’s, chosen for a world map: few villages are among them. UTM and MGRS stop at 80° S and 84° N: the polar caps take UPS, which is not given. The zones widened for Norway and Svalbard are applied, but NGA’s documents that define them could not be fetched. A Plus Code must be whole. The geohash has no published specification. Places nearly opposite each other defeat Vincenty’s iteration, and the tool says so. Heights are not handled; what3words, a company’s own system, stays out.
- IARU Region 1, VHF Managers Handbook, version 10.03 (2026), §20.2: the definition of the IARU locator and its test cases
- C. F. F. Karney, “Transverse Mercator with an accuracy of a few nanometers”, Journal of Geodesy 85 (2011), eqs. 7–9, 14, 29, 35, 36
- T. Vincenty, “Direct and inverse solutions of geodesics on the ellipsoid with application of nested equations”, Survey Review 23 (176), 1975
- Google, Open Location Code: its definition and test data (Apache License 2.0)
- Natural Earth, 1:10m Cultural Vectors, Populated Places, version 5.1.2 (public domain): its populated places and their points
- C. F. F. Karney, GeoConvert(1), the manual of GeographicLib’s converter: its examples of UTM and MGRS
- Redis, GEOHASH: its example of two places in Sicily
- EPSG 7030, the WGS 84 ellipsoid: a = 6,378,137 m, 1/f = 298.257223563