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.
Asked
Active
Viewed 1,044 times
0
-
2To 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 Answers
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