Click here for the PDF:

Generate convex hull polygons and centroids from KML