cyan-at / fastkml

Fast KML processing for python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Fastkml is a library to read, write and manipulate kml files. It aims to keep it simple and fast (using lxml if 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 provides a subset of KML and is aimed at documents that can be read from multiple clients such as openlayers and google maps rather than to give you all functionality that KML on google earth provides.

Geometries are handled as pygeoif or shapely (if installed) objects.

Fastkml is continually tested with Travis CI:

https://api.travis-ci.org/cleder/fastkml.png Latest PyPI version https://readthedocs.org/projects/fastkml/badge/ https://coveralls.io/repos/cleder/fastkml/badge.png?branch=master https://www.ohloh.net/p/fastkml/widgets/project_thin_badge.gif

Documentation

You can find all of the documentation for FastKML at fastkml.readthedocs.org. If you find something that is missing, please submit a pull request on GitHub with the improvement.

Install

You can install the package with pip install fastkml or easy_install fastkml which should also pull in all requirements.

Requirements

Optional

You can install all of the requirements for working with FastKML by using pip:

pip install -r requirements.txt

Note

Shapely requires that libgeos be installed on your system. apt-get install libgeos-dev will install these requirements for you on Debian- based systems.

Limitations

Tesselate, Extrude and Altitude Mode are assigned to a Geometry or Geometry collection (MultiGeometry). You cannot assign diffrent values of Tesselate, Extrude or Altitude Mode on parts of a MultiGeometry.

You can find the complete list of current issues on GitHub.

About

Fast KML processing for python