0

I want to convert a shapefile to a KML using QGIS. When I do it, the output I obtain is without attributes. And I want a similar product as it is provided by shape2kml of zonum solutions.

nmtoken
  • 13,355
  • 5
  • 38
  • 87
Ariel
  • 315
  • 2
  • 13
  • 2
    To answer your question, we will need more information about the specific KML file. A related question: http://gis.stackexchange.com/questions/36696/editing-a-kml-file-or-converting-kml-to-editable-format-with-attributes?rq=1 – underdark Jul 17 '13 at 15:17
  • I have a shapefile of lines, and every record is a line. So, the kml I want needs to have the name of each record. And the procedure on QGIS I use to obtain that kml is saving as an exporting as kml. – Ariel Jul 17 '13 at 19:03

1 Answers1

1

QGIS is actually using ogr2ogr command to do the conversion. you can run it directly like ogr2ogr -f KML output.kml input.shp in terminal

yiyanggis
  • 66
  • 2