by squeaky-clean · 5y ago · 0 comments
Another strange thing I found that might not be super well known (I didn't know about it) is that all GPS data in China is offset by a nonlinear psuedo-random amount. If you turn on the satellite view in Google Maps and look at various cities in China, you'll see that the road and business overlay is off by anywhere from 50m to 500m. And the strangest thing is that it's not a consistent offset from place to place.
Turns out this is very intentional, and China uses a different geographic coordinate system than the rest of the world. WGS-84 is the most common coordinate system, but China uses GCJ-02, sometimes called Mars Coordinates. Part of GCJ-02 is an algorithm that obfuscates the results. So applying any GCJ-02 coordinate to a globe using WGS-84 coordinates gets distorted like a funhouse mirror.
It's easy to find open source libraries to convert WGS-84 to GCJ-02 and vice versa. But Google Maps doesn't do it, for political reasons I suppose? I've read that if you open Google Maps within China the mapping data is correct, but have no way to test that.
The open-sourced implementation one may find on the internet are probably thru sth like curve fitting by sampling many data points. It may have good enough approximations but may not work one day if the gov agency decides to change the algorithm. Changing algorithm is a backward compatibility hell but not a big problem for the industry actually, because most Map apps are owned by big corp which has resource and motivation to comply.
Such irony in CCP using licensing to protect their IP
and what's the "correct-conception"?[1]
I'm curious because I get what parent means in terms of intellectual property issues in China but I don't get what do you mean from your comment, especially the fact that you include "other party states" - is it some sort of general rule that you're hinting at?
[1] funny, I just realised that there is no antonym of "misconception"
At the end of the day they may obfuscate coordinates and blur maps, but the truth will eventually come out.
Can't imagine why anyone would want that to happen.....
Let's see... Wikipedia seems to confirm:
> During the 1990s, GPS quality was degraded by the United States government in a program called "Selective Availability"; this was discontinued on May 1, 2000 by a law signed by President Bill Clinton.
Private, independent geographical surveying is illegal in China. [0] So technically you can't do it even in the local coordinate system.
[0] https://en.wikipedia.org/wiki/Restrictions_on_geographic_dat...
But OSM actually doesn’t use that system! They use the normal coordinate system, which makes them unique across mapping services (and also a good tool to use to RE geojson away from chinas system).
FYI: And even far outside of them too
https://spacenews.com/pentagon-report-china-amassing-arsenal...
I suspect you could go hours driving round a city with the GPS and WiFi location turned off before losing your position - simple wheel speed, gyro and compass is sufficient for most stuff.
https://www.e-education.psu.edu/natureofgeoinfo/book/export/...
I think the US Government can also shut it off at a moments notice.
https://www.broadcom.com/products/wireless/gnss-gps-socs/bcm...
https://www.euspa.europa.eu/newsroom/news/qualcomm-launches-...
https://www.gpsworld.com/qualcomm-launches-3-dual-frequency-...
Modern dirt cheap receivers can pick up European, Chinese, Russian, etc. constellations for location just as well as the American one.
I briefely looked through the pdf, and probally missed it?
I live in the Bay Area, and homeowners are concerned over a few inches.
(There's a huge need for cheap surveys. Until GPS gets it to under a inch, traditional surveys will off pipes, and landmarks, is here to stay? Or, am I wrong?)
The problem for homeowners is that surveys aren't enough. The vast majority of land titles are not registered in precise coordinates; they're registered in terms of landmarks, benchmarks, and so forth. This is changing at a glacial pace, but for now, the tech isn't the problem.
I spent 2 months cycling China from Hong Kong to Beijing. Despite only using Chinese characters, Baidu maps worked very well for me. I copied the characters I needed (Hotel, supermarket) into it from the translator.
Here's my journal https://www.cycleblaze.com/journals/5000years
There are cheaper places where only locals can go (and till some years ago, also the other way around was true)
A lot of countries use their own coordinate systems, that make their countries look flat on a x/y plane. Eg. my country - slovenia.
Usually those coordinate systems are easy to calculate to wgs84 or web mercator projection[0], compared to the chinese solution
edit: updated silly question after reading more on this
Does that mean: 1) My GPS module also gives out obfuscated coordinates when in China or 2) Google uses shifted satellite images?
robotastronaut also corrected me that it's not actually the GPS that is being obfuscated, but the map coordinate system. So your GPS device is probably receiving correct results, but on an improperly projected map.
The opposite is true: If you look at areas like the Macau-Zhuhai border or Hong Kong-Shenzhen, you'll see that the satellite imagery is continuous but the mapping data has discontinuities at the border (some zhuhai streets are halfway across the water to Macau!)
I can use OpenStreetMap fine in China. But that's not Chinese data.
If a Chinese person sends me a location marker on WeChat, the marker will show up (for me, in WeChat) at some other, unintended, location; I can't use that feature at all.
Yes, Israel specifically has favor from the US government that satellite imagery of that country is allowed to be blurred:
https://en.wikipedia.org/wiki/Kyl%E2%80%93Bingaman_Amendment....
Naver Maps has really good street view and very accurate maps in SK.
>Why is Google’s Korean map behaving this way? In short, because of Korea’s Spatial Data Industry Promotion Act from 2009, specifically Article 7, which states that:
>Spatial data business operators may produce and distribute any processed spatial data. In such cases, processed spatial data shall not include any spatial data on any military base provided for in subparagraph 1 of Article 2 of the Protection of Military Bases and Installations Act nor on any military installation provided for in subparagraph 2 of the said Article.
>And considering the existence of the most heavily militarized border on the planet between North Korea and South Korea, this means a substantial part of South Korea is riddled with military installations.
>By limiting the maximum resolution of its Korean imagery on maps.google.co.kr, Google appears to have satisfied Korean regulators that it is obeying the relevant Korean laws. Thus, Google avoids having to blur or otherwise censor the satellite imagery base layer for Korea — something which it has successfully managed to avoid in China, India and elsewhere.
Write up about Apples courser application
https://ogleearth.com/2012/07/apple-censors-ipad-maps-app-ov...
Or whoever is in charge of importing the data simply doesn’t know that different coordinate systems is a thing. You’d be surprised how many GIS professionals are oblivious to this, especially ones in charge of things that tend to spill large amounts of oil into the environment when they get it wrong: https://www.maritime-executive.com/article/london-club-warni...
https://goo.gl/maps/oDwCuGhxxZVSj7nJ6 Hong Kong/China border bridges
Why would a space agency use a coordinate system to obfuscate results on another planet?
FYI: Google has never really quit China. It has running offices in Beijing, Foshan, and, recently, Shenzhen.