Skip to main content

A Python 3.4 tool kit for converting KML files to GeoJSON files

Project description

kml2geojson
============
This is a Python 3.4 command-line program to convert KML files to GeoJSON.
Much of the code is a translation into Python of the KML converter in the
Node.js package `togeojson <https://github.com/mapbox/togeojson>`_.

The added features of ``kml2geojson``, are

- the ability to create several GeoJSON files of FeatureCollections, one for each KML folder
- one JSON file containing all the KML styles


Installation
-------------
``pip install kml2geojson``


Usage
------
At the command line type ``kml2geojson --help`` for instructions.


Documentation
--------------
In ``docs`` and on RawGit `here <https://rawgit.com/araichev/kml2geojson/docs/_build/singlehtml/index.html>`_.


Notes
-------
- Development status: Alpha
- This project uses semantic versioning (major.minor.micro),
where each breaking feature or API change is considered a major release.
So the version code reflects the project's change history, rather than its development status.
In particular, a high major version number, does not imply a mature development status.


Background Reading
------------------
If you want to help develop this project, here is some background reading.

- The `KML reference <https://developers.google.com/kml/documentation/kmlreference?hl=en>`_
- Python's `Minimal DOM implementation <https://docs.python.org/3.4/library/xml.dom.minidom.html>`_, which this project uses to parse KML files


Authors
---------
- Alex Raichev (2015-10-03)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kml2geojson-2.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file kml2geojson-2.0.tar.gz.

File metadata

  • Download URL: kml2geojson-2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kml2geojson-2.0.tar.gz
Algorithm Hash digest
SHA256 cede04f05e48ab951ab5f67723ae40a42ffb7997932acf08172613481005f4de
MD5 32de4ed367c088a7104bb2b2960347e4
BLAKE2b-256 2c8ec4582577a91f6137645f4ac1a15c7d898875ac586e6bf81b37869d7c5f37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page