baidu-maps-coord-utils icon indicating copy to clipboard operation
baidu-maps-coord-utils copied to clipboard

Google Maps coordinates to Baidu Maps coordinates

Open rsempe opened this issue 11 years ago • 1 comments

Hello,

INPUT Google maps coordinates: 22.296683073843447, 114.16934251785278

OUTPUT Baidu maps coordinates: MTE0LjE3NTg4MDgyMDg3, MjIuMzAyMzg4OTIyMTU5 Baidu maps coordinates: 114.17588082087, 22.302388922159

The point does not correspond on Google Maps and on Baidu Maps.

Have you got an idea why?

rsempe avatar Dec 11 '13 10:12 rsempe

Unlike Google, you cannot search Baidu Maps (http://map.baidu.com/) for coordinates directly. But, you can try this page: http://api.map.baidu.com/lbsapi/getpoint/.

screen shot 2013-12-11 at 7 09 21 pm

Baidu Maps' coordinates are different from those of Google.

Google: latitude, longitude Baidu: longitude, latitude

If you want to search Google for Baidu Maps' coordinates, you may need to exchange the position of latitude and longitude.

Note, the conversion of the coordinates may not be accurate if they are outside of mainland China.

caiguanhao avatar Dec 11 '13 11:12 caiguanhao