diff --git a/scripts/ca-qc_government_and_municipalities_of_quebec-2026A000224_d4c-datapkg-orthoimagery_orthorectified_imagery_from_quebec/download.sh b/scripts/ca-qc_government_and_municipalities_of_quebec-2026A000224_d4c-datapkg-orthoimagery_orthorectified_imagery_from_quebec/download.sh index 96cf89b..71de9de 100644 --- a/scripts/ca-qc_government_and_municipalities_of_quebec-2026A000224_d4c-datapkg-orthoimagery_orthorectified_imagery_from_quebec/download.sh +++ b/scripts/ca-qc_government_and_municipalities_of_quebec-2026A000224_d4c-datapkg-orthoimagery_orthorectified_imagery_from_quebec/download.sh @@ -1,11 +1,11 @@ DATASET_ID="ca-qc_government_and_municipalities_of_quebec-2026A000224_d4c-datapkg-orthoimagery_orthorectified_imagery_from_quebec" # Download tile index of data -#aria2c https://diffusion.mern.gouv.qc.ca/diffusion/RGQ/Imagerie/Orthomosaique/_Index/Index_Imagerie_orthorectifiee_GPKG.zip -## Extract ZIP file -#unzip Index_Imagerie_orthorectifiee_GPKG.zip -# -#mv Index_Imagerie_orthorectifiee.gpkg "${DATASET_ID}_2026-03-10.gpkg" +aria2c https://diffusion.mern.gouv.qc.ca/diffusion/RGQ/Imagerie/Orthomosaique/_Index/Index_Imagerie_orthorectifiee_GPKG.zip +# Extract ZIP file +unzip Index_Imagerie_orthorectifiee_GPKG.zip + +mv Index_Imagerie_orthorectifiee.gpkg "${DATASET_ID}_2026-03-10.gpkg" # Convert the GeoPackage to urls.txt ogr2ogr -f CSV /vsistdout/ "${DATASET_ID}_2026-03-10.gpkg" \