<div dir="ltr">Hi!J<div><br></div><div><br></div><div>On QGIS 2.4, I have some kind of trouble exporting to KML from SHP files when the "name" field is not called "name".</div><div>If I specify the "Name" field in the SaveAs->KML file ->Datasource options dialog, QGIS ignores that option.</div>

<div>A workaround is using the Field calculator to generate a new field called "Name". Then, QGIS uses the Name field.</div><div><br></div><div>This is the result of my experiments:</div><div><br></div><div>1) Export kml from a SHP file without "NAME" field, specifying field XXX as NamefieldĀ </div>

<div>=> Resulting KML file has no name. Field XXX is exported as Extended data with name XXX.</div><div><br></div><div>2) Export kml from a SHP file with "NAME" field, Specifying field XXX as Namefield</div>
<div>
==>Resulting KML file has namefield "NAME", "XXX" field is NOT exported.</div><div><br></div><div>3) Export kml from a SHP file with "NAME" field, Specifying "NAME" as name field</div>

<div>==>Everything is ok.</div><div><br></div><div>Please note the same applies to Description field option.</div><div><br></div><div>Also, I use to need calculated descriptions (I.E. to generate a html description with a table grouping many fields), but I can't use the field calculator inside the "description field" option, so I have to make a copy of the SHP file with the custom Description field, using the field calculator before exporting to kml.</div>

<div><br></div><div>(Another question: what does mean "export simbology?" I find the results are the same with or without clicking that option. I would like an option to save my custom categorized icons ...)</div>

</div>