How do I convert these coordinates to coordinates readable by Google Maps?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Take a look at the map coordinates on this page . This is linked in from Wikipedia and the coordinates are passed the query string. I'm not sure of the actual terms for this but How do I convert the coordinates? They look like this: 37° 14′ 6〃 N, 115° 48′ 40〃 W I would like them to look like this: 37.235, -115.811111 , which is a format readable by Google maps, as seen in this example . How do I do this in PHP, and what are the two different types of coordinates called? 回答1: The original format is in hours, minutes, seconds format.