<div dir="ltr"><div>You can use OGR creation options. In the 'Save vector layer as...' dialog, use the 'OGR creation options -> Data source' text edit to write the following:<br><br></div><div>NameField=<your_attribute><br>

<br></div><div>Then export to KML and load your layer in Google Earth. The name of the placemark should correspond to the one in your attribute.<br>See the OGR formats page for KML [1] as a reference.<br></div><div><br></div>

<div>Best regards<br></div><div><br><br>[1] - <a href="http://www.gdal.org/ogr/drv_kml.html">http://www.gdal.org/ogr/drv_kml.html</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 5:32 PM, gvSIGMac <span dir="ltr"><<a href="mailto:gvsig.mac@gmail.com" target="_blank">gvsig.mac@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I did not find the reference now, but if I recall right you need a field called "name". Whatever is in this field will go to the KML file as name.<br>


<br>
________________________________<br>
Agustin<br>
<div class="HOEnZb"><div class="h5"><br>
On 23/05/2013, at 17:38, Agustin Lobo <<a href="mailto:alobolistas@gmail.com">alobolistas@gmail.com</a>> wrote:<br>
<br>
> Hi!<br>
><br>
> Is there any way to make that the ID field of the table become<br>
> the name field in the kml? Currently I get all points as "no name"<br>
> in GE (there is no field name in the kml). I have to edit the kml<br>
> by hand in GE.<br>
> Alternatively, is there any way to create this name field in a more<br>
> systematic way?<br>
><br>
> Thanks<br>
> Agus<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>
_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>___________________________ ___ __<br>Ricardo Garcia Silva
</div>