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 collection, Merging/Joining GeoJSON and JSON? and https://gist.github.com/migurski/3759608
4 of 4
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Antonio Falciano
- 14.5k
- 2
- 38
- 68