[gdal-dev] Writing KML with GDAL Python bindings
Armin Burger
armin.burger at gmx.net
Tue Jun 16 15:14:35 EDT 2009
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
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
More information about the gdal-dev
mailing list