Skip to main content

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

Project description

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.

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


pip install kml2geojson


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


In docs and on RawGit here.


  • 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.


  • 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.

Files for kml2geojson, version 3.0.2
Filename, size File type Python version Upload date Hashes
Filename, size kml2geojson-3.0.2.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page