Discussion:
[Matplotlib-users] Produce KML from Matplolib
egayer
2015-06-10 08:07:44 UTC
Permalink
Hi all,

Is there a way to produce a KML file from matplolib results as R and Matlab
do ?

- plotKML is a R package http://plotkml.r-forge.r-project.org
- Matlab has the Google Earth Toolbox.

Both of them allow to plot directly on GE

I' have been digging around and found this old post :"Producing a
KML-friendly (Google Earth) image" but nothing about how to actually a
matplolib result as a KML file useable into Google Earth.

I have seen some shape to KML packages, but nothing about raster.

The ultimate goal being to use the "plot, mplot3d, imshow, etc..." to plot
any python array on GE.

Thanks for your help
Eric





--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Produce-KML-from-Matplolib-tp45759.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Paul Hobson
2015-06-21 15:44:33 UTC
Permalink
Eric,

You'll be producing the KML from pythonor some other python package. GIS
I/O is well beyond matplotlib's scope.

This gis,stackexchange thread seems promising:
http://gis.stackexchange.com/questions/22519/create-a-ground-overlay-kml-from-georeferenced-raster
Post by egayer
Hi all,
Is there a way to produce a KML file from matplolib results as R and Matlab
do ?
- plotKML is a R package http://plotkml.r-forge.r-project.org
- Matlab has the Google Earth Toolbox.
Both of them allow to plot directly on GE
I' have been digging around and found this old post :"Producing a
KML-friendly (Google Earth) image" but nothing about how to actually a
matplolib result as a KML file useable into Google Earth.
I have seen some shape to KML packages, but nothing about raster.
The ultimate goal being to use the "plot, mplot3d, imshow, etc..." to plot
any python array on GE.
Thanks for your help
Eric
--
http://matplotlib.1069221.n5.nabble.com/Produce-KML-from-Matplolib-tp45759.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Arnaldo Russo
2015-06-24 17:50:24 UTC
Permalink
Hi Egayer,

Filipe Fernandes spoted a nice result using Simplekml and Basemap.

https://ocefpaf.github.io/python4oceanographers/blog/2014/03/10/gearth/

Cheers,
Arnaldo.
Post by egayer
Hi all,
Is there a way to produce a KML file from matplolib results as R and Matlab
do ?
- plotKML is a R package http://plotkml.r-forge.r-project.org
- Matlab has the Google Earth Toolbox.
Both of them allow to plot directly on GE
I' have been digging around and found this old post :"Producing a
KML-friendly (Google Earth) image" but nothing about how to actually a
matplolib result as a KML file useable into Google Earth.
I have seen some shape to KML packages, but nothing about raster.
The ultimate goal being to use the "plot, mplot3d, imshow, etc..." to plot
any python array on GE.
Thanks for your help
Eric
--
http://matplotlib.1069221.n5.nabble.com/Produce-KML-from-Matplolib-tp45759.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Loading...