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.
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.
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
Python’s Minimal DOM implementation, which this project uses to parse KML files
Metadata
Release files for kml2geojson 3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kml2geojson-3.tar.gz | 7.2 kB | Without provenance | Details for kml2geojson-3.tar.gz |
Release files / kml2geojson-3.tar.gz
| Download URL | kml2geojson-3.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
286767df1fd8f9dfbcd1d1264ff02a18bc30c7a692eb67d7a557162a702ffc26
|
|
BLAKE2b-256 checksum How to use checksums |
630b46845aca9c67e605f998a7ef6971d7e5476804f4fd81b71c32aad7f980b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for kml2geojson 3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.