benbovy / spherely

Manipulation and analysis of geometric objects on the sphere.
https://spherely.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
119 stars 8 forks source link

Fix repr precision for latest s2geography + expose precision in to_wkt #63

Closed jorisvandenbossche closed 2 weeks ago

jorisvandenbossche commented 3 weeks ago

In another PR, the tests in the dev environment are failing. I am not entirely sure why this changed (I thought the default was already to use the full precision. But potentially because now using ryu under the hood, the definition/inference of full precision has changed) But in any case, I think showing up to 6 values after the decimal seems more than enough for lon/lat coordinates