Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save s-celles/e0eb768a78198197e1a59ee10a94805e to your computer and use it in GitHub Desktop.
Save s-celles/e0eb768a78198197e1a59ee10a94805e to your computer and use it in GitHub Desktop.
Téléchargement couche DRONES depuis Géoportail
# génération auto par gdal du fichier XML de description du service WMTS
gdal_translate "WMTS:https://wxs.ign.fr/an7nvfzojv5wa96dsga5nk8w/geoportail/wmts?Service=WMTS&Request=GetCapabilities&Version=1.0.0,layer=TRANSPORTS.DRONES.RESTRICTIONS" drones.xml -of WMTS
# téléchargement des tuiles et sortie en geotiff
gdal_translate drones.xml drones.tif -co COMPRESS=DEFLATE -co TILED=YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment