d3-geo icon indicating copy to clipboard operation
d3-geo copied to clipboard

default geoCircle precision to 2 degrees

Open Fil opened this issue 2 years ago • 1 comments

Results in 180 control points instead of 60 (⨉3). The error is quadratic with the precision, with the worst case (for a parallel) being at latitude 45°. Under this new setting, the maximum error is now ~484m, vs. 4.365km with precision 6°.

https://observablehq.com/@d3/geocircle-error

Fil avatar Apr 28 '23 00:04 Fil

linked documentation PR https://github.com/d3/d3/pull/3803

Fil avatar Nov 20 '23 15:11 Fil