Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Google Maps coordinates to Baidu Maps coordinates #1

Open
rsempe opened this issue Dec 11, 2013 · 1 comment
Open

Google Maps coordinates to Baidu Maps coordinates #1

rsempe opened this issue Dec 11, 2013 · 1 comment

Comments

@rsempe
Copy link

rsempe commented Dec 11, 2013

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?

@caiguanhao
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants