[Qgis-user] Descriptionfield and Namefield in KML export
José G Moya Y.
josemoya at gmail.com
Thu Aug 28 02:38:44 PDT 2014
Hi!J
On QGIS 2.4, I have some kind of trouble exporting to KML from SHP files
when the "name" field is not called "name".
If I specify the "Name" field in the SaveAs->KML file ->Datasource options
dialog, QGIS ignores that option.
A workaround is using the Field calculator to generate a new field called
"Name". Then, QGIS uses the Name field.
This is the result of my experiments:
1) Export kml from a SHP file without "NAME" field, specifying field XXX as
Namefield
=> Resulting KML file has no name. Field XXX is exported as Extended data
with name XXX.
2) Export kml from a SHP file with "NAME" field, Specifying field XXX as
Namefield
==>Resulting KML file has namefield "NAME", "XXX" field is NOT exported.
3) Export kml from a SHP file with "NAME" field, Specifying "NAME" as name
field
==>Everything is ok.
Please note the same applies to Description field option.
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.
(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 ...)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140828/52e404e1/attachment.html>
More information about the Qgis-user
mailing list