Attached is a valid GeoJSON file containing a feature whose geometry is a GeometryCollection made up of two points, and a second feature whose geometry is a point.
When processed by shpwrite.download() only one point is exported, from the second feature, while the two from the GeometryCollection are silently ignored.
I'm not sure what the correct interpretation of these would be for a Shapefile, but if there isn't one then perhaps exporting each geometry separately with the same properties would be better than not exporting them at all.
GeometryCollection.geojson.txt
Attached is a valid GeoJSON file containing a feature whose geometry is a GeometryCollection made up of two points, and a second feature whose geometry is a point.
When processed by shpwrite.download() only one point is exported, from the second feature, while the two from the GeometryCollection are silently ignored.
I'm not sure what the correct interpretation of these would be for a Shapefile, but if there isn't one then perhaps exporting each geometry separately with the same properties would be better than not exporting them at all.
GeometryCollection.geojson.txt