## Not run: ------------------------------------
# # latitude/longitude coordinates of Beijing railway station
# # WGS-84: (39.90105, 116.42079)
# # BD-09: (39.90851, 116.43351)
# bd2wgs(39.90851, 116.43351) # correct verifying by google earth
# # convert multiple coordinates
# bd2wgs(c(40.00541, 39.99299), c(116.3330, 116.3124))
## ---------------------------------------------
Run the code above in your browser using DataLab