Description Usage Arguments Details Value Author(s) See Also Examples
converts lat/lon coordintes from WGS-84 to GCJ-02
1 | wgs2gcj(wgsLat, wgsLon)
|
wgsLat |
a numeric latitude in WGS-84 |
wgsLon |
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 (cai-j12@mails.tsinghua.edu.cn), 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.