Skip to main content

BD09_FOLD_BOUND_METRES

Constant BD09_FOLD_BOUND_METRES 

Source
pub const BD09_FOLD_BOUND_METRES: f64 = 1.0;
Expand description

The documented accuracy bound on the BD-09 → GCJ-02 fold, in metres: a successful fold_bd09_to_gcj02 is sub-metre, far below consumer-GPS noise, which is why the bounded inverse is accepted rather than refusing BD-09 input at the edge.

This is the contract ceiling. The tolerance actually enforced (BD09_FOLD_TOLERANCE_DEGREES) is roughly four orders of magnitude tighter, so the bound holds with enormous margin.