converts lat/lon coordintes from WGS-84 to GCJ-02
a numeric latitude in WGS-84
a numeric longitude in WGS-84
All real WGS-84 latitude/longitude coordites must be encrypted by National Admistration of Surveying, Mapping and Geoinformation (http://en.sbsm.gov.cn/) into GCJ-02 (known as 'Mars coordinate system') with a deviation no more than 700 meters in China. The decryption algorithm is a public secrect on the Internet and verfied to be correct.
a data.frame with variables lat/lng
Jun Cai ([email protected]), PhD candidate from Department of Earth System Science, Tsinghua University
https://on4wp7.codeplex.com/SourceControl/changeset/view/21483#353936 for C version source code.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.