## Not run: ------------------------------------
# # latitude/longitude coordinates of Beijing railway station
# # WGS-84: (39.90105, 116.42079)
# # GCJ-02: (39.90245, 116.42703)
# gcj2wgs(39.90245, 116.42703) # correct verifying by google earth
# # convert multiple coordinates
# gcj2wgs(c(39.99967, 39.98691), c(116.3264, 116.3059))
## ---------------------------------------------
Run the code above in your browser using DataLab