A python package for (approximately) live updates to Google Earth Pro.
Project description
What is pyLiveKML?
pyLiveKML is an implementation of Google's Keyhole Markup Language (KML) that enables an (approximately) live feed of geospatial information into Google Earth Pro (GEP). GEP is updated on the fly using an implementation of the mechanism described in the KML specification.
Several simple evaluation apps are included with the pyLiveKML source. These projects use the Flask application server, and its integrated development webserver, to construct and publish KML files to GEP. Re these evaluation apps, the reader should be conscious that:
<NetworkLinkControl>
KML tags are used to create, change and delete content in GEP.- GEP only accepts
<NetworkLinkControl>
tags from an HTTP server for security reasons; local files are forbidden. - Any HTTP server that is able to dynamically generate content can be used.
- GEP only accepts
- Flask is used as the application/webserver for the evaluation apps, but the authors of Flask, Pallet Projects, make it very clear that their development HTTP server is not suitable for production. If you're doing anything more than dev and/or testing, you should probably heed their advice.
GIS and OS Compatibility
pyLiveKML has been tested only with Google Earth Pro on Microsoft Windows 10. It is possible that it may work with other KML-compliant GIS's and/or other operating systems, but that has not been tested by the author and is unknown at this time.
Has the entire KML specification been implemented?
No. Only a subset of the KML classes that are described in the KML specification has been implemented at this time; see the pyLiveKML documentation for a list. The subset was chosen based on the author's personal experience, i.e. what has proven "useful" to me in the past. The list of supported classes could certainly be expanded if there is interest.
Evaluation Applications
Several evaluation or example applications are available on Github
Documentation
Licence
Contributions
I'm willing to do a certain amount of work expanding the KML classes (and, in some cases, the fields) that are supported by pyLiveKML.
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
Hashes for pyLiveKML-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cd9bd8f3e3d2afabd30ac41c43dbef73cb8eb94d8ecdaeaf198aa262eb0a5b0 |
|
MD5 | b86414f426eeb57315b617fe771aa519 |
|
BLAKE2b-256 | 74b40746d7cd26f2727f9900309023497b398681b78670d3e48560618689b3e2 |