luka1199 / geo-heatmap

:world_map: Generate an interactive geo heatmap from your Google location data
MIT License
2.05k stars 226 forks source link

Make it possible to import output from Google MyMaps (KML / KMZ / GPS) #59

Open alexanderfarr opened 10 months ago

alexanderfarr commented 10 months ago

Desired solution I wish to import items / locations I exported from a custom Google MyMaps. I created the pins by uploading a csv with addresses in the format of street city country to Google MyMaps that were correctly parsed and are shown on the Google MyMaps Map. Then, I downloaded the points through this dialogue, trying KML and KMZ format:

Export

I wish I could pass the export files along to be executed by the Python script to have a heat map generated. I also used this converter to convert the data to gpx: https://mygeodata.cloud/conversion.

Errors encountered When trying to pass the respective export file, I got the respective errors:

  1. Converted .gpx file and kml file: Execution was successful, but the map was empty
  2. kmz file: NotImplementedError: Unsupported file extension for 'International_Addresses.kmz'

Is there any workaround to get the script working for single points in Google MyMaps? Many thanks for your help!