[Qgis-user] Descriptionfield and Namefield in KML export

Carlos Cerdán sig.upagu at gmail.com
Thu Aug 28 13:06:46 PDT 2014


Hi José

No reactions yet... but thank you very much for share your feedback. I'll
take note of this to mi next deal with KMLs.

Saludos

Carlos Cerdán


2014-08-28 4:38 GMT-05:00 José G Moya Y. <josemoya at gmail.com>:

> 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 ...)
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140828/81f09799/attachment.html>


More information about the Qgis-user mailing list