Example: Convert KML/KMZ files into Shapefiles in BC-Albers coordinate system

Goal

Convert a KML/KMZ file containing a set of placemarks into ESRI Shapefile format. The geometry is reprojected from geographics into the BC-Albers coordinate system.

Input

A KML or KMZ file containing Placemarks. To be compatible with the Shapefile format, the placemarks should all have the same geometric type (Polygons, Lines or Points)

Script

kmlToShape_BCAlbers.jql

Instructions

Output

The output shapefile is created in the same directory as the script is run, and has the same name as the input file.