I have tried it using the script below but I didn’t know how to add more coordinates using a function, I wrote some coordinates manually.
I need to add 20 coordinates on this route for example with a specific distance of 2m.
kindly let me know how I can go from here and thank you in advance.
from polycircles import polycircles
import pandas as pd
#Germany1 52.17365048266471, 10.50326921341822
#Germany2 52.17428145858134, 10.50385051351152
lines_kml = simplekml.Kml()
lines = lines_kml.newlinestring(name=‘Path’,
description=‘Germany1 to Germany2’,
#change the line width and color
lines.style.linestyle.width = 5
lines.style.linestyle.color = simplekml.Color.red
Lines_kml_path = ‘/Users/alkon/PycharmProjects/Lines_kml.kml’
#open with Google Earth pro