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. But kml2geojson also adds the following features.

  • Preserves KML object styling, such as color and opacity
  • Optionally writes one JSON file cataloging all the KML styles used
  • Optionally creates several GeoJSON files of FeatureCollections, one for each KML folder

Installation

pip install kml2geojson

Usage

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

Documentation

In docs and on RawGit here.

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.

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
kml2geojson-3.0.4.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page