Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rhumb line interpolate for 0 headings #11573

Merged
merged 4 commits into from
Oct 30, 2023
Merged

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Oct 19, 2023

Fixes rhumb line interpolation for headings of 0 degrees.

The error shows up in this (local) sandcastle

The fix is straightforward, but I'm getting reports that geojsons which previously worked are suddenly seeing this error. The confusing part is that it's reproducible in 1.110 and 1.109 (before the polygon changes went in), as well as versions 1.108 and before depending on whether or not they are using the zip file or the npm module. I'm thinking this is either a dependency or build discrepancy and looking further into it.

@cesium-concierge
Copy link

Thanks for the pull request @ggetz!

  • ✔️ Signed CLA found.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.
  • ❔ Unit tests were not updated.
    • Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.

Copy link
Contributor

@jjhembd jjhembd left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @ggetz !

@jjhembd jjhembd merged commit 864c4a6 into main Oct 30, 2023
9 checks passed
@jjhembd jjhembd deleted the fix-rhumb-interpolation branch October 30, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants