QGIS – Convert Shapefile to KML

convertkmlpolygonqgisshapefile

I have one big layer which contains many polygons. This layer is a shapefile and I want to convert it to be many layers, each layer containing one polygon, and those polygon layers should be saved as KML. I have tried to use the tool ''Convert Format'' as I was advised by other people but I can't understand how to make it into KML and all I get is a new layer called ''converted'' and I can't find the difference.

What did I miss?
enter image description here

The end goal is to have many KML filles in the end, one KML layer per polygon

Best Answer

As per the comment, you need to choose the format you want to convert to by choosing the Save to file option in the 'Converted section, and then picking the format you want to convert to.

Convert format

You need to end up with a GDAL command that begins with

ogr2ogr -f "LIBKML"

You have to do this because the default option for this tool as per the documentation is save to shapefile

Related Question