geojson-to-kml
Convert GeoJSON to KML file
python -m geojson2kml "examples/example1.geojson" --outdir examples
Display
The name of the feature will be taken from the name attribute if set, otherwise it will use the id of the feature. The attributes set in properites will be displayed as a table.
{
"type": "Feature",
"id": 1,
"name": "ABBOTT NEIGHBORHOOD PARK",
"geometry": {
"type": "Point",
"coordinates": [
-80.870885,
35.215151
]
},
"properties": {
"name": "ABBOTT NEIGHBORHOOD PARK",
"address": "1300 SPRUCE ST"
}
}
Folders
You can group features by folder by speciying --folder-attribute and the name of the property attribute that should be used to group by.
Styling
You can configure the styling of objects by adding these as properties on the feature:
| Property | Default |
|---|---|
| iconstyle.icon.href | https://maps.google.com/mapfiles/kml/paddle/red-circle.png |
| iconstyle.color | FFFFFFFF |
| iconstyle.scale | 1.0 |
| labelstyle.scale | 1.0 |
| linestyle.color | FFFFFFFF |
| linestyle.width | 5 |
| polystyle.color | FFFFFFFF |
Metadata
Release files for geojson2kml 0.2.0
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 |
|---|---|---|---|---|
| geojson2kml-0.2.0.tar.gz | 8.0 kB | Without provenance | Details for geojson2kml-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geojson2kml-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for geojson2kml-0.2.0-py3-none-any.whl |
Total release size: 13.7 kB
Release files / geojson2kml-0.2.0.tar.gz
| Download URL | geojson2kml-0.2.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13694b09257df17e7cb31b5f44a48445e92cb70ab9952e7d947c916d542359b9
|
|
BLAKE2b-256 checksum How to use checksums |
f487c4d2a28f40a4477cf89003ea81797a591303d79af6dd0c7b0f30eec8d94e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Release files / geojson2kml-0.2.0-py3-none-any.whl
| Download URL | geojson2kml-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81e49bf652e6a15c9994ce2563e500e4065a54435f4bbab1a4da0ed57aeba96c
|
|
BLAKE2b-256 checksum How to use checksums |
9aa7a1d9873aab886ede75c1733a89a38c5c6e440c1c536a2dedb644eba24103
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
|
Security for geojson2kml 0.2.0
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.