A Simple KML creator
simplekml is a python package which enables you to generate KML with as little effort as possible.
At the time of making this package nothing was available (at least I could not find anything) that could create KML files easily. You needed a lot of bloated code to even create a simple point. This is understandable because the KML standard is quite extensive, but what if you just work with the simple elements of KML like Document, Folder, Point, LineString and Polygon? This package supports those elements and more (MultiGeometry, Overlays, NetworkLinks, Models) with advanced styling. This makes creating a KML file containing a point as simple as:
import simplekml kml = simplekml.Kml() kml.newpoint(name="Kirstenbosch", coords=[(18.432314,-33.988862)]) kml.save("botanicalgarden.kml")
Please take note that this project is in its early stages. Everything seems to work, but bugs may crop up. If you would please test it and let me know if there are bugs, it would be appreciated.
See the Wiki for usage and reference.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|simplekml-0.7.0.win32-py2.6.exe (96.1 kB) Copy SHA256 Checksum SHA256||2.6||Windows Installer||Jun 3, 2011|
|simplekml-0.7.0.win32-py2.7.exe (226.7 kB) Copy SHA256 Checksum SHA256||2.7||Windows Installer||Jun 3, 2011|
|simplekml-0.7.0.win32-py3.0.exe (226.7 kB) Copy SHA256 Checksum SHA256||3.0||Windows Installer||Jun 3, 2011|
|simplekml-0.7.0.win32-py3.1.exe (226.7 kB) Copy SHA256 Checksum SHA256||3.1||Windows Installer||Jun 3, 2011|
|simplekml-0.7.0.win32-py3.2.exe (226.7 kB) Copy SHA256 Checksum SHA256||3.2||Windows Installer||Jun 3, 2011|
|simplekml-0.7.0.zip (110.5 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 3, 2011|