Helper tools to insert data into the sdi. You will need the bash shell to run these scripts!
Convert a myriad of formats on different folders to the eMOTIONAL Cities recommended formats: GeoJSON
, GeoPackage
and GeoParquet
.
Befor running the scripts, make sure you give them run permissions:
chmod +x convert-shp.sh
./convert-shp.sh
- convert-csv.sh: bulk conversion of csv files on a local folder, to geojson, using
template.vrt
(check this file for custom options) - convert-geojson.sh: bulk conversion of geojson files on a local folder to geopackage
- convert-geoparquet.sh: bulk conversion of geojson files on a S3 bucket to geoparquet, placing them on another s3 bucket
- convert-gpkg.sh: bulk conversion of csv files on a local folder to geopackage
- convert-shp.sh: bulk conversion of shapefiles files on a local folder to geopackage
- geojson2gpkg.sh: variation of
convert-geojson.sh
- convert-pgdump.sh: bulk conversion of geojson files in a single postgis sql create/insert script
This project is released under an MIT License