-
Notifications
You must be signed in to change notification settings - Fork 17
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
Does this code also perform the WGS-84 to GCJ-02 conversion? #1
Comments
Yes. But this code seems to be using an interpolation method. At present the accurate algorithm has been leaked, so I would recommend eviltransform and other repos using the algorithm. |
Ah, so eviltransform does both the coordinates transform and GPS offset/deviation correction? |
As far as I know, you only need to do coordinates transform. There's no GPS deviation. The smartphones Chinese people use also have a bitten Apple on the back of them. The same as your phones. Globalization counts. |
@fengzee-me,
From http://www.sinosplice.com/life/archives/2012/10/09/unfun-map-games lists:
That is what I meant by "GPS deviation". I should've called it "GPS shift" perhaps. http://gis.stackexchange.com/a/59936/37816 mentions a large GPS deviation problem caused by a legal mandate for map API providers to return incorrect data. http://www.sinosplice.com/life/archives/2013/07/16/a-more-complete-ios-solution-to-the-china-gps-offset-problem shows that several people sell massive data sets of tens of thousands of points within China with their corresponding offset. Are you sure there's no GPS deviation mandated by Chinese law? This deviation could be caused by GPS devices produced in China, to align with maps approved by the Chinese government, or it could be the case that GPS devices produced everywhere return the correct coordinates, but for China maps to align with reality, these coordinates need to be either,
Or are all other map providers forced to show incorrect maps? |
Sorry for coming back late. Yes, that's what I mean. The mandatory use of GCJ-02 (and BD-09) is all what happened here in China. The Chinese government neither bans production of any GPS device, nor makes GPS / GPS chip manufacturers modify their products to report wrong coordinates. The government only gives order to map data providers (or survey companies with government licenses). Those data providers are forced to publish their geo-data under the GCJ-02 system, which makes locations represented in WGS-84 coordinates look wrong when they're pinned to GCJ-02 based digital maps. Before the WGS-84 <--> GCJ-02 transform algorithm leaked and made available everywhere on the Internet (eg. this repo), some people tried to get a lot of samples of WGS-GCJ point pairs and sold the dataset to people in need. But this kind of dataset is no longer useful because we now have the algorithm itself. Are all these in the Chinese law? Why does the Chinese government do this? |
Thank you @fengzee-me. I've created a Wikipedia article that explains the China GSP shift problem. |
Oh thank you too. You're a good researcher. You can find my old blog post (that have been copied to Baidu by someone) that even I have forgotten about. And it's all Chinese except for a GitHub link. Your article explains this problem quite well. I'll make a Chinese version on zh.wikipedia.org once I have time. |
Just FYI, I am now working on a zh.wikipedia.org translation for the article created by @dandv: https://zh.wikipedia.org/wiki/Draft:中国大陆对测绘数据的限制. Update (2017-04-02): Page has passed DYKC at https://zh.wikipedia.org/wiki/中华人民共和国测绘限制 |
Umm... Sorry for hijacking the thread again. I currently attributed the iteration method to a last traceable source on GitHub (caijun/geoChina; cst.r), both on Wikipedia and in my toy implementation. Should I try to cite @fengzee-me's paper to set the record straight? I might want to do a little bit of Markdown transcription if I go ahead… |
GitHub please |
Or do I need to use eviltransform for that?
The text was updated successfully, but these errors were encountered: