Produce KML from Matplolib

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.

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

···

On Wed, Jun 10, 2015 at 1:07 AM, egayer <egayer@…4443…91…> wrote:

Hi all,

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

do ?

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.



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi Egayer,

Filipe Fernandes spoted a nice result using Simplekml and Basemap.

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

Cheers,

Arnaldo.

···

2015-06-10 5:07 GMT-03:00 egayer <egayer@…4491…>:

Hi all,

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

do ?

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.



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users