I am attempting to convert a GeoJSON Feature Collection into multiple shapefiles. The shapefile a feature ends up in depends on a specific property of the GeoJSON,
My desired output is a single zipped file, containing all the different shapefile folders.
So far I have converted GeoJSON with uniform
layer_id to a single shapefile, using the ogr2ogr npm module. The output of the ogr2ogr command is a zipped shapefile.
I would like to either:
- Learn how to designate a property for ogr2ogr to "group by" when creating a shapefile, creating multiple shapefiles
- Learn how to create unzipped shapefiles with ogr2ogr, which I can then compress into a single zip