Shapefile format doesn't allow multiple geometry types, so you should use another format, like GeoJSON. See also OGR merge shapefiles of different geom type into a single GeoJSON feature collectionOGR merge shapefiles of different geom type into a single GeoJSON feature collection, Merging/Joining GeoJSON and JSON?Merging/Joining GeoJSON and JSON? and https://gist.github.com/migurski/3759608