18 ms·
I usually go with 6 decimal places. Geojson format advises it also https://tools.ietf.org/html/rfc7946#section-11.2 https://tools.ietf.org/html/rfc7946#sectio
by sccxy 7y ago
I usually go with 6 decimal places.
Geojson format advises it also
https://tools.ietf.org/html/rfc7946#section-11.2 https://tools.ietf.org/html/rfc7946#section-11.2
- nixpulvis 7y ago> For geographic coordinates with units of degrees, 6 decimal places (a default common in, e.g., sprintf) amounts to about 10 centimeters, a precision well within that of current GPS systems. Implementations should consider the cost of using a greater precision than necessary. If you actually read the RFC, it's giving a common example as an artifact of sprintf, and explicitly stating that implementations should consider how much precision they need...