A Python script that merges multiple KML files into one, labeling points as Hotspot 1, Hotspot 2, etc. It also allows you to add a custom Source point and handle nearby duplicates (within DIST_THRESHOLD_METERS
meters) interactively.
Install the required dependencies:
pip install geopy
Run as follows:
python .\merge_kml.py .\samples\file1.kml .\samples\file2.kml .\samples\file3.kml
Follow the on-screen prompts to add your Source and resolve nearby point duplicates.
The merged file will be saved to OUTPUT_KML
.