geo-assist is a Docker based solution to download and prepare geo data.
The basic system contains scripts that allow you to download datasets and convert them (Shapefiles, GeoJSON, MBTiles).
Build the geo-assist image from the Dockerfile.
docker build -t geo-assist .
docker run -ti -v $(pwd)/dataset:/calysteau/dataset geo-assist
Following samples are based on Georisques data from https://www.georisques.gouv.fr/
./download.sh https://www.calysteau.fr/data/Georisques2020/georisques_tri_2020.zip fr-tri-2020
- Argument 1 : Archive URL
- Argument 2 : Dataset name
- Result : downloaded dataset is available in
/calysteau/fr-tri-2020
./generate_geojsons.sh
- No argument
- Result : GeoJSON files are created for all shapefiles in
/calysteau/dataset/
directory
./generate_geojsons.sh fr-tri-2020
- Argument 1 : Dataset name
- Result : GeoJSON files are created for all shapefiles in in
/calysteau/dataset/fr-tri-2020
Works only with departements and regions in fr-admin-express dataset.
./generate_geojsons_toponyms.sh
- No argument
- Result : GeoJSON files are created for departements and regions in in
/calysteau/dataset/fr-admin-express
./generate_mbtiles.sh
- No argument
- Result : MBTiles files are created for all GeoJSON files in
/calysteau/dataset/
directory
./generate_mbtiles.sh fr-tri-2020
- Argument 1 : Dataset name
- Result : MBTiles files are created all GeoJSON files in
/calysteau/dataset/fr-tri-2020
./merge_mbtiles.sh fr-tri-2020
- Argument 1 : Dataset name
- Result : MBTiles file is created in directory
/calysteau/dataset/
- Geoservices IGN admin-express (https://geoservices.ign.fr/adminexpress)
./download.sh https://www.calysteau.fr/data/Geoservices/admin-express.7z fr-admin-express
- Full Metropolitan France TRI 2020 data (https://www.georisques.gouv.fr/)
Warning archive size is about 4.6 GB
./download.sh https://files.georisques.fr/di_2020/tri_2020_sig_di.zip fr-tri-2020-full
- Géorisques Metropolitan France TRI (TRI zones and municipalities concerned only)
./download.sh https://www.calysteau.fr/data/Georisques2020/georisques_tri_2020.zip fr-tri-2020
- Geoclip polygons French zip codes (https://www.data.gouv.fr/fr/datasets/fond-de-carte-des-codes-postaux/)
./download.sh https://www.calysteau.fr/data/CodesPostauxFrance/geoclip_codes_postaux_V5.zip fr-zipcode-v5
- LaPoste points French zip codes (https://datanova.laposte.fr/explore/dataset/laposte_hexasmal/)
./download.sh https://www.calysteau.fr/data/CodesPostauxFrance/laposte_hexasmal.zip fr-zipcode-laposte
- World Natural Earth (https://www.naturalearthdata.com/)
./download.sh https://naciscdn.org/naturalearth/packages/natural_earth_vector.zip world-naturalearth
- High Seas Master world ports (https://github.com/nvkelso/high-seas)
./download.sh https://www.calysteau.fr/data/HighSeasMaster/HighSeasMaster.zip world-highseasports
- Mile High Club world airports (https://github.com/nvkelso/mile-high-club)
./download.sh https://www.calysteau.fr/data/MileHighClub/MileHighClub.zip world-airports