Description Usage Arguments Value Examples
Function to convert WGS84 coordinates to BD09 coordinates.
Geographic data from Baidu and coordinates in Baidu maps are BD09 coordinates. Geographic data from Chinese official websites and coordinates from Chinese map providers such as Gaode and QQ map are GCJ02 coordinates. GCJ02 coordinates is the first encryption applied to WGS84 coordinates. BD09 adds one more layer of encryption on top of GCJ02.
1 | wgstobd(coordinates)
|
coordinates |
A vector of coordinate pair c(lat, lon) |
lat, lon
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.