Skip to content

Use this Python code to create place markers in a .kml file (Google Earth) from the .csv file of your Google Contacts

Notifications You must be signed in to change notification settings

krischimk/Google-Contacts-to-Google-Earth

Repository files navigation

Workflow:

1. Export Google contacts as Google CSV.

image

2. Open .csv file in Google Sheets.

(https://docs.google.com/spreadsheets/u/0/)

3. Get 'Geocode by Awesome Table' extension for Google Sheets.

(may only be possible in the Chrome browser)
image

4. Geocode the 'Address 1 - Formatted' column.

image
Check the values in the Longitude/Latitude columns if they have the right formatting.
If it's wrong, change the the country/language setting in the file settings to 'United States' and geocode again.

5. Optional: Do the same for the 'Address 2 - Formatted' column.

You then have to rename the new Longitude and Latitude columns to 'Longitude 2' and 'Latitude 2'
image

6. Download file as CSV

7. Run the Python code (change input/output path in the code before running it).

If any problems arise, I suggest asking an LLM like ChatGPT.

About

Use this Python code to create place markers in a .kml file (Google Earth) from the .csv file of your Google Contacts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages