<div dir="ltr"><div>Hi José<br><br>No reactions yet... but thank you very much for share your feedback. I'll take note of this to mi next deal with KMLs.<br><br></div>Saludos<br><br>Carlos Cerdán<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-08-28 4:38 GMT-05:00 José G Moya Y. <span dir="ltr"><<a href="mailto:josemoya@gmail.com" target="_blank">josemoya@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>