Package: fastkml
IntroductionFastkml is a library to read, write and manipulate KML files. It aims to keep
it simple and fast (usinglxmlif available). Fast refers to the time you
spend to write and read KML files as well as the time you spend to get
aquainted to the library or to create KML objects. It aims to provide all of
the functionality that KML clients such asOpenLayers,Google Maps, andGoogle Earthprovides.Geometries are handled aspygeoifor, if installed,shapelyobjects.Fastkml is continually testedIs Maintained and documented:Supports python 2 and 3:DocumentationYou can find all of the documentation for FastKML atfastkml.readthedocs.org. If you find something that is missing,
please submit a pull request onGitHubwith the improvement.InstallYou can install the package withpip install fastkmloreasy_install fastkmlwhich should also pull in all requirements.RequirementspygeoifdateutilsOptionallxmlshapelyYou can install all of the requirements for working with FastKML by usingpip:pip install -r requirements.txtNoteShapelyrequires that libgeos be installed on your system.apt-getinstalllibgeos-devwill install these requirements for you on Debian-
based systems.LimitationsTesselate,ExtrudeandAltitude Modeare assigned to a Geometry or
Geometry collection (MultiGeometry). You cannot assign different values ofTesselate,ExtrudeorAltitude Modeon parts of a MultiGeometry.Currently, the only major feature missing for the full Google Earth experience
is thegx extension.
This will most likely be added after the 1.0 version release.Changelog0.12 (2020/09/23)add track and multi track [dericke]remove travis, add github actionsraise error and debug log for no geometries found case [hyperknot]protect AttributeError from data element without value [fpassaniti]examples and fixes [heltonbiker]improve documentation [whatnick]0.11.1 (2015/07/13)add travis deploy to travis.yml0.11 (2015/07/10)handle coordinates tuples which contain spaces0.10 (2015/06/09)Fix bug when the fill or outline attributes of a PolyStyle are float strings0.9 (2014/10/17)Add tox.ini for running tests using tox [Ian Lee]Add documentation, hosted athttps://fastkml.readthedocs.org[Ian Lee]0.8 (2014/09/18)Add support for address and phoneNumber [Ian Lee]Add support for Ground Overlay kml [Ian Lee]0.7 (2014/08/01)Handle case where Document booleans (visibility,isopen) are ‘true’ or ‘false’ [jwhelland]test case additions and lxml warning [Ian Lee]pep8-ify source code (except test_main.py) [Ian Lee]pyflakes-ify source code (except __init__.py) [Ian Lee]0.6 (2014/05/29)add Schemaadd SchemaDatamake use of lxmls default namespace0.5 (2013/10/23)handle big files with huge_tree for lxml [Egil Moeller]bugfixes0.4 (2013/09/05)adds the ability to add untyped extended data / named value pairs [Denis Krienbuehl]0.3 (2012/11/15)specify minor python versions tested with Travis CIadd support for tesselation, altitudeMode and extrude to Geometriesmove implementation of geometry from kml.Placemark to geometry.Geometryadd support for heterogenous GeometryCollectionpython 3 compatiblefix test for python 3change license to LGPLregister namespaces for a more pleasant, human readable xml output0.2 (2012/07/27)remove dependency on shapelyadd more functionality0.1.1 (2012/06/29)add MANIFEST.in0.1 (2012/06/27)initial release