geoprimsField-grade geospatial math

Latitude and longitude to Gnomonic

Projects a latitude and longitude onto the ellipsoidal gnomonic centered where you choose, where geodesics through the center are straight lines and all others nearly are.

Go the other way: Gnomonic to latitude and longitude →

4,371,212.819m

Easting 4,371,212.819 m, northing 5,140,517.234 m.

Northing
Grid convergence
Scale along the meridian
Scale along the parallel
Provenance
Computed by
geodesy.projection.gnomonic-forward 1.0.0, core 0.1.0
Model
Ellipsoidal gnomonic by the geodesic (Karney 2013, section 8)
Accuracy
Agrees with GeographicLib's GeodesicProj to a nanometer near the center
Notes
None
Cites
Karney, C. F. F., Journal of Geodesy, Algorithms for geodesics

Something look off?

Your values

Showing an example. Change anything.
More options 4
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: Ellipsoidal gnomonic by the geodesic (Karney 2013, section 8)

Accuracy: Agrees with GeographicLib's GeodesicProj to a nanometer near the center

When to use this: Use this when the shortest path must be a straight line on the map: planning great-circle routes on a chart, intersecting geodesics with plane geometry, or testing whether a point lies on the line between two others. Every geodesic through the center is straight, and near the center every geodesic is straight to within a tiny error.

Limitations: The gnomonic shows less than a hemisphere: a point a quarter of the way round the Earth or more from the center has no image and is refused. Toward that horizon the scale grows without bound, so it suits a region a few thousand kilometers across. On the ellipsoid, geodesics that do not pass through the center are only nearly straight: within 1,000 km of the center they bow by well under a millimeter.

Worked example: The Arctic, seen from the middle of North America. Source: GeographicLib 2.x GeodesicProj -g 40 -100: x = 4,371,212.819 m, y = 5,140,517.234 m. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Latitude
60 deg
Latitude of the center
40 deg
Longitude
-30 deg
Longitude of the center
-100 deg

You get

Easting
4,371,212.819 m
Northing
5,140,517.234 m
Grid convergence
60.5570578°
Scale along the meridian
1.469370033
Scale along the parallel
2.108034252

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Changes

Checked against: 23 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Constants this tool assumes

Values you do not enter, and where each comes from.

WGS 84 semi-major axis
6378137 m — Department of Defense World Geodetic System 1984
WGS 84 inverse flattening
298.257223563 — Department of Defense World Geodetic System 1984

Sources