Tag Archives: google maps

Python Script to Import Coordinates from Google Maps

I have been experimenting with custom maps (a.k.a. my places) in Google Maps to obtain geographic coordinates of certain locations. In a certain way, I am geocoding. According to Wikipedia, geocoding is the process of finding geographic coordinates associated to other forms of location data, such as street addresses or postal codes. I am not using a fully automated process but I managed to automate some parts of it.

What am I geocoding? I want to create a data set with the geographic coordinates of the main stock exchanges across the world. Why? Because I am interested in calculating the physical distance between stock exchanges. As you can see in the following map, I have already located most of the stock exchanges of America and Europe.

Continue reading