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 (example here : http://imagebin.ca/view/3nYnN3.html) > to a polygon shapefile (vector). > > After multiple tests, I can retrieve the polygons points coordinates via > matplotlib.Patch and save them in a shp file. Now I have troubles with > "real" coordinates and meta-datas, but nothing impossible :-) > > > Hi, > > If you're after a 'quick and dirty' solution. > > As I understand it a KML file can be used to specify the Latitude and > Longitude extent of a raster image (See 'Ground Overlays' at > http://code.google.com/apis/kml/documentation/kml_tut.html). If you can > accept some distortion of the text on your image (should be small with a > small region) and can work out the size of each pixel in degrees of lat and > lon, then all you need to do is write a simple text file to specify where > Google Earth should display your Basemap contour map. > > What you're doing does sound more elegant, but more complex. > > Regards, > Scott > > > > Please find our Email Disclaimer here: http://www.ukzn.ac.za/disclaimer/ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > -- Lionel Roubeyrie - [EMAIL PROTECTED] Chargé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users