Convergence and point scale at a projected point by central differences
through proj4, measured with the WGS84 meridian (M) and prime-vertical (N)
radii. Works for any projection without per-projection formulae. Throws
when proj4 does; returns null for non-finite results.
Accuracy: the central difference over +/-10 m leaves a truncation term of
order (10 m / R)^2, about 1e-12, and the double-precision round-off on the
differenced latitudes is about 1e-10. Both outputs match PROJ to 5e-11 on
TM, LCC and Krovak (__fixtures__/proj-oracle.json, generated by
scripts/geo/generate-proj-oracle.py).
Convergence and point scale at a projected point by central differences through proj4, measured with the WGS84 meridian (M) and prime-vertical (N) radii. Works for any projection without per-projection formulae. Throws when proj4 does; returns null for non-finite results.
Accuracy: the central difference over +/-10 m leaves a truncation term of order (10 m / R)^2, about 1e-12, and the double-precision round-off on the differenced latitudes is about 1e-10. Both outputs match PROJ to 5e-11 on TM, LCC and Krovak (
__fixtures__/proj-oracle.json, generated byscripts/geo/generate-proj-oracle.py).