[Qgis-user] ID's in shpaefile as names in kml ?

Agustin Lobo alobolistas at gmail.com
Thu May 23 23:03:49 PDT 2013


Thanks, works perfect with both solutions.
Agus

On Thu, May 23, 2013 at 7:08 PM, Ricardo Filipe Soares Garcia da
<ricardo.garcia.silva at gmail.com> wrote:
> 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:
>
> NameField=<your_attribute>
>
> Then export to KML and load your layer in Google Earth. The name of the
> placemark should correspond to the one in your attribute.
> See the OGR formats page for KML [1] as a reference.
>
> Best regards
>
>
> [1] - http://www.gdal.org/ogr/drv_kml.html
>
>
> On Thu, May 23, 2013 at 5:32 PM, gvSIGMac <gvsig.mac at gmail.com> wrote:
>>
>> 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.
>>
>> ________________________________
>> Agustin
>>
>> On 23/05/2013, at 17:38, Agustin Lobo <alobolistas at gmail.com> wrote:
>>
>> > Hi!
>> >
>> > Is there any way to make that the ID field of the table become
>> > the name field in the kml? Currently I get all points as "no name"
>> > in GE (there is no field name in the kml). I have to edit the kml
>> > by hand in GE.
>> > Alternatively, is there any way to create this name field in a more
>> > systematic way?
>> >
>> > Thanks
>> > Agus
>> > _______________________________________________
>> > Qgis-user mailing list
>> > Qgis-user at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> --
> ___________________________ ___ __
> Ricardo Garcia Silva
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



More information about the Qgis-user mailing list