Re: [gdal-dev] Writing KML with GDAL Python bindings

2009-06-16 Thread Armin Burger
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 wo

Re: [gdal-dev] Writing KML with GDAL Python bindings

2009-06-15 Thread Even Rouault
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 wor

[gdal-dev] Writing KML with GDAL Python bindings

2009-06-15 Thread Armin Burger
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 N