Even
thanks a lot for the help. Works perfectly.
armin
On 15/06/2009 22:07, Even Rouault wrote:
Yes, try something like :
ogr.GetDriverByName('KML').CreateDataSource('out.kml', options =
['NameField=foo'] )
Le Monday 15 June 2009 21:52:45 Armin Burger, vous avez écrit :
Hi everybody
I would like to write KML output with GDAL Python bindings based on a
database query. Everything works fine, I just have not found a way to
define the NameField that is used in Google Earth as name displayed in
the TOC. The ogr2ogr tool lets me define this using the flag "-dsco
NameField=...". Is there anything similar for GDAL Python?
Thanks in advance for any hints.
Armin
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev