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.

  • 2
    To answer your question, we will need more information about the specific KML file. A related question: gis.stackexchange.com/questions/36696/…
    – 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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.