8000 Update examples and docs for longitude range change (#93) by isaacbrodsky · Pull Request #118 · uber/h3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update examples and docs for longitude range change (#93) #118

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

Merged
merged 2 commits into from
Aug 15, 2018

Conversation

isaacbrodsky
Copy link
Collaborator

No description provided.

@coveralls
Copy link
coveralls commented Aug 10, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling a3b46d1 on isaacbrodsky:lon-range-readme into f9be0f9 on uber:master.

CHANGELOG.md Outdated
@@ -6,6 +6,8 @@ The public API of this library consists of the functions declared in file
[h3api.h](./src/h3lib/include/h3api.h).

## [Unreleased]
### Changed
- Longitude outputs are now ine range [-Pi, Pi]. (#93)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Typo: in range. I'd add guaranteed to be as well.

// grid distance: 2340
// distance in km: 2.256850km
// distance in km: 2.256853km
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious why this changed - FPE? Why are all of the coords here so different in their fractional digits from the previous versions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The only difference I see here is 0.000003km difference on the distance. Not sure if that's important. The coords look like they are correctly updated to unconstrained_longitude - 360.

Copy link
Collaborator

Choose a reason for hiding this comment

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

...because apparently I can't do simple math, and wasn't expecting a different fraction with the sign change. 8000 Stet.

// grid distance: 2340
// distance in km: 2.256850km
// distance in km: 2.256853km
Copy link
Collaborator

Choose a reason for hiding this comment

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

...because apparently I can't do simple math, and wasn't expecting a different fraction with the sign change. Stet.

@isaacbrodsky isaacbrodsky merged commit 23a7fcf into uber:master Aug 15, 2018
@isaacbrodsky isaacbrodsky deleted the lon-range-readme branch August 15, 2018 16:35
mrdvt92 pushed a commit to mrdvt92/h3 that referenced this pull request Jun 19, 2022
Update examples and docs for longitude range change (uber#93)
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.

4 participants
0