The Keyhole Markup Language (KML) has become one of the most extensively-used formats, and it has become an OGC standard. For some more details on the KML standard, refer to https://en.wikipedia.org/wiki/Keyhole_Markup_Language. The following screenshot shows how to create vector layers from a KML file:
This recipe (found in
ch03/ch03-kml-layer/) will show you how easy it is to add features from a KML file. You can find the necessary files in the KML format attached to the source code of this book and available on the Packt Publishing website.