Convert GeoJSON to KML file
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geojson2kml-0.2.0.tar.gz.
File metadata
- Download URL: geojson2kml-0.2.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13694b09257df17e7cb31b5f44a48445e92cb70ab9952e7d947c916d542359b9
|
|
| MD5 |
5ce960918f6743662ff0bfc3953b4c3d
|
|
| BLAKE2b-256 |
f487c4d2a28f40a4477cf89003ea81797a591303d79af6dd0c7b0f30eec8d94e
|
File details
Details for the file geojson2kml-0.2.0-py3-none-any.whl.
File metadata
- Download URL: geojson2kml-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81e49bf652e6a15c9994ce2563e500e4065a54435f4bbab1a4da0ed57aeba96c
|
|
| MD5 |
9c5965c4186f4c9738b94e2e9b71b343
|
|
| BLAKE2b-256 |
9aa7a1d9873aab886ede75c1733a89a38c5c6e440c1c536a2dedb644eba24103
|