Skip to content

Instantly share code, notes, and snippets.

@guillaumerose
Created July 21, 2016 11:29
Show Gist options
  • Save guillaumerose/91fef478d01dcbe60984e102cba36da2 to your computer and use it in GitHub Desktop.
Save guillaumerose/91fef478d01dcbe60984e102cba36da2 to your computer and use it in GitHub Desktop.
Agrégation des fichiers de la BD Alti de l'IGN. Reprojection en WGS84
find . -iname "*.asc" -exec gdal_translate -a_nodata none -a_srs EPSG:2154 {} {}.tif \;
gdal_merge.py -o france.tif *.tif
gdalwarp -overwrite -s_srs EPSG:2154 -t_srs EPSG:4326 france.tif france.wgs84.tif
gdal_translate -of AAIGrid -ot Int32 france.wgs84.tif france.asc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment