eviltransform icon indicating copy to clipboard operation
eviltransform copied to clipboard

Transport coordinate between earth(WGS-84) and mars in china(GCJ-02).

Results 17 eviltransform issues
Sort by recently updated
recently updated
newest added

https://github.com/googollee/eviltransform/blob/b911c066225716822e4a5b2cab475edcc6cf11a2/javascript/transform.js#L90-L91 @Artoria2e5 wrong sign `-=`, it will cause divergence!

The test was actually failing: % npm test > [email protected] test /Users/chenxing/eviltransform/javascript > node test.js gcj2wgs_exact test 0: distance5695312.758504871 gcj2wgs_exact test 1: distance12596699.5673844 gcj2wgs_exact test 2: distance14679927.891650176 wgs2gcj 2564103 223...

the precise in wuhan as bellow(11 meters): ![image](https://user-images.githubusercontent.com/17794023/50547966-8861c700-0c7f-11e9-912a-7f499b6c6e16.png) it's possible to solve it? or, do you know any better method to calculate more precise?

Commits cd7a6a4 killed the 2-iter exact algo. This commit brings it back.

BD 的[原始泄出实现](http://blog.csdn.net/coolypf/article/details/8569813)中有一个 `x_pi` 变量,指的是 `3000 / 180 * Math.PI`,eviltransform 抄过来变成了 `Math.PI`。 想要测试的话尽管上 http://lbsyun.baidu.com/index.php?title=webapi/guide/changeposition 去比。

这个项目创立之初,只有我自己的工作中用到的转换实现。后来感谢大家贡献代码,有了各种语言的实现。但是目前看上去,单一repo的形式有不少问题: - 我对其他语言不熟悉,比如matlab,java等。我无力维护这些语言的patch是否合理。 - 我个人并不能及时响应所有语言的同步 - 有占有其他人工作的嫌疑 我想将这个repo转化为单独的project,其中有一个doc repo,来定义所有实现需要的接口,以及相关算法和使用到的参数。同时这个doc会维护一个版本号,其他语言在实现时,需要指明对应的版本号。每个版本号发布后会对应一个tag。每个语言的实现单独一个repo,使用tag作为版本号。 我不知道各位贡献者对这个方案的想法如何。目前看得到的弊端是,对现有代码可能有影响(可以保留现有repo,但在readme里提示新的使用方法),star会分散到每个语言的repo里(我无所谓)。