id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 5208,Syntetic field name considered as real,strk,warmerdam,"When converting an SQL query with a ""Name"" field to KML format, ogr2ogr renames the ""Name"" column to ""name2"" because (it says) a field named ""name"" already exists. But that field is really not in the query. {{{ $ ogr2ogr -f kml /dev/stdout ""PG:"" -sql ""SELECT 'a' as name"" Warning 1: Field 'name' already exists. Renaming it as 'name2' }}} The resulting KML has no ""Name"" described in the ""ExtendedData"" schema in the placemark. Full result: {{{ sql_statement Warning 1: Field 'name' already exists. Renaming it as 'name2' a }}} It used to work differently in 1.9.2 This _may_ be a duplicate of #4988 but I'm not sure as there isn't enough information for me in that ticket",defect,closed,normal,1.10.1,OGR_SF,1.10.0,normal,fixed,kml ogr2ogr,