Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

js: Fix exact conv again #42

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

Open
Artoria2e5 wants to merge 2 commits into googollee:master
base: master
Choose a base branch
Loading
from Artoria2e5:patch-5
Open

Conversation

@Artoria2e5
Copy link
Contributor

@Artoria2e5 Artoria2e5 commented Dec 19, 2016

> wgs2gcj(35, 105)
{lat: 34.99909861697254, lng: 105.00328629710248}
> gcj2wgs_exact(34.99909861697254, 105.00328629710248)
{lat: 34.99999999920718, lng: 104.9999999993101}
> gcj2wgs(34.99909861697254, 105.00328629710248)
{lat: 34.99999091601437, lng: 104.99998369011693}

本来 exact 减法做反了,整个飞出去了......

> wgs2gcj(35, 105)
{lat: 34.99909861697254, lng: 105.00328629710248}
> gcj2wgs_exact(34.99909861697254, 105.00328629710248)
{lat: 34.99999999920718, lng: 104.9999999993101}
> gcj2wgs(34.99909861697254, 105.00328629710248)
{lat: 34.99999091601437, lng: 104.99998369011693}
本来 exact 减法做反了,整个飞出去了......
Copy link
Contributor Author

说起来现在这个 threshold 其实已经不是偏差大小,而是每次改进多少了。因此得到的 9 也多了很多......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /