Summary:
This guide covers the key workflows and tools for managing and processing location data in Google Sheets and Google My Maps. Suppose we have marks on Google My Maps. In order to extract the location of markers to a google sheet.
- Export Marker Data from Google My Maps as KML/CSV.
- Convert KML to CSV
- Use Apps Script in Google Sheets to extract data like addresses or postal codes from coordinates.
Extract Data from Google My Maps
- Export Custom Markers:
- Open Google My Maps.
- Use the menu (three dots) to select Export to KML.
- The exported file will contain marker names, descriptions.
Extract KML data to google sheets
- Rename KML file to XML.
- Open XML in excel.
- Extract marker and coordinate data.
- Paste data into google sheets.
Extracting Information from Coordinates in Google Sheets
Use [[Google Apps Script]] to extract additional information like addresses or postal codes from geographic coordinates.
- Get Address from Coordinates:
- Get Postal Code from Coordinates:
- Use
getAddress()
withgetPostalCode()
. - =getPostalCode(56.033139, -3.4182519)