[gdal-dev] Writing KML with GDAL Python bindings
Even Rouault
even.rouault at mines-paris.org
Mon Jun 15 16:07:22 EDT 2009
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
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list