Q:

Automatically split KML into point, line and polygon SHPs?

I have a lot of KMLs that include points, lines and polygons together. 
Is there a way to automatically parse them into separate shapefiles (one for point, one for line, one for polygon) in QGIS or ArcGIS? 
Otherwise I have to go through and delete the other two for each file, which is time consuming.

A:

ogr2ogr will (sort of) do it.
Scroll down to "How do I translate a mixed geometry file to shapefile format?"
% ogr2ogr out_point.shp mixed.kml -where 'ogr_geometry = "POINT"'
% ogr2ogr out_line.shp mixed.kml -where 'ogr_geometry = "LINESTRING"'
% ogr2ogr out_poly.shp mixed.kml -where 'ogr_geometry = "POLYGON"'

ogr2ogr converting to shapefile - how to select feature types? covers it as well.
Remember you can install this on windows using OSGEO4W.

