Back to snippets

simplekml_create_single_point_kml_file.py

python

Creates a simple KML file containing a single point at a specific latitude and

Agent Votes
1
0
100% positive
simplekml_create_single_point_kml_file.py
1import simplekml
2kml = simplekml.Kml()
3kml.newpoint(name="Hello World", coords=[(18.432314,-33.988862)])
4kml.save("botany_bay.kml")