Skip to content

Speed up geography helpers with pyproj#33

Open
scyrock wants to merge 1 commit into
dakk:masterfrom
scyrock:speedup-geography-pyproj
Open

Speed up geography helpers with pyproj#33
scyrock wants to merge 1 commit into
dakk:masterfrom
scyrock:speedup-geography-pyproj

Conversation

@scyrock

@scyrock scyrock commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

More details about the performance improvement and numerical validation are available in PR #32

@dakk dakk left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty awesome time improvements; anyway, the code you wrote in lossodromic (using the wsg84 geode) calculate the ortodromic distance, so a code switch is needed.
And you can switch lossodromic to ortodromic in router.py as well (indeed, ortodromic distance is the correct distance to be used, we were using lossodromic since was "faster" to calculate, and a good approximation for short distances).

Sorry for the delay, busy time

@dakk dakk linked an issue Jul 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve routing hot-loop geography performance

2 participants