Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Lionel Roubeyrie
thanks for this link Scott, I went into the refernce API directly without looking at this tutorial. Effectively, it works :-) Scott Sinclair a écrit : Lionel Roubeyrie <[EMAIL PROTECTED]> 07/23/08 9:37 AM >>> > I want to "convert" a filled contours map generated with > Basemap

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Scott Sinclair
>>> Lionel Roubeyrie <[EMAIL PROTECTED]> 07/23/08 9:37 AM >>> I want to "convert" a filled contours map generated with Basemap (example here : http://imagebin.ca/view/3nYnN3.html) to a polygon shapefile (vector). After multiple tests, I can retrieve the polygons points coordinates via matplotli

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-23 Thread Lionel Roubeyrie
Hi Tim, like I said, I want to "convert" a filled contours map generated with Basemap (example here : http://imagebin.ca/view/3nYnN3.html) to a polygon shapefile (vector). The filled contours are from a regular points grid which can already be saved into a point shapefile (via ogr python binding

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-22 Thread Tim Michelsen
> Looks like I've done a mistake with my last post, sorry Eli... > I know how to save datas to a shapefile with the OGR library but only > for points datas. > I'll appreciate if somebody can point me how to save a filled contour > map basemap into a polygon shapefile, can't find any example wit

Re: [Matplotlib-users] Basemap to KML polygon

2008-07-22 Thread Jeff Whitaker
Lionel Roubeyrie wrote: > Looks like I've done a mistake with my last post, sorry Eli... > I know how to save datas to a shapefile with the OGR library but only > for points datas. > I'll appreciate if somebody can point me how to save a filled contour > map basemap into a polygon shapefile, can'

[Matplotlib-users] Basemap to KML polygon

2008-07-22 Thread Lionel Roubeyrie
Looks like I've done a mistake with my last post, sorry Eli... I know how to save datas to a shapefile with the OGR library but only for points datas. I'll appreciate if somebody can point me how to save a filled contour map basemap into a polygon shapefile, can't find any example with google. Th

[Matplotlib-users] Basemap to KML polygon

2008-07-21 Thread Lionel Roubeyrie
Hi all, just to know if there's a proper way to convert a basemap generated with contourf to a KML (or polygon shapefile) ? Thanks -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ---