Skip to content

Improve spatial accuracy near poles#47

Merged
JKamsker merged 1 commit intofix/spatial-regressionsfrom
codex/fix-failing-unit-tests-for-litedb-8fm0wy
Oct 8, 2025
Merged

Improve spatial accuracy near poles#47
JKamsker merged 1 commit intofix/spatial-regressionsfrom
codex/fix-failing-unit-tests-for-litedb-8fm0wy

Conversation

@JKamsker
Copy link
Owner

@JKamsker JKamsker commented Oct 8, 2025

Summary

  • add a WGS84-based Vincenty implementation and improve haversine fallback logic around the poles
  • produce polar-safe bounding boxes that correctly span all longitudes and expose that intent to callers
  • adjust spatial test helpers to understand all-longitude bounding boxes

Testing

  • dotnet test LiteDB.Tests/LiteDB.Tests.csproj -c Release -f net8.0

https://chatgpt.com/codex/tasks/task_e_68e69ca99bd883269fa0ff99be540bb9

@JKamsker JKamsker merged commit 27ada9b into fix/spatial-regressions Oct 8, 2025
1 check passed
@JKamsker JKamsker deleted the codex/fix-failing-unit-tests-for-litedb-8fm0wy branch October 8, 2025 20:52
JKamsker added a commit that referenced this pull request Oct 8, 2025
* Add GeographicLib polar regression tests

* Merged regressions

* Improve spatial accuracy near poles (#47)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant