Skip to content

Instantly share code, notes, and snippets.

@cquest
Created July 30, 2017 20:13
Show Gist options
  • Save cquest/9db8aebcaa1fb1b53b2424c74b821b39 to your computer and use it in GitHub Desktop.
Save cquest/9db8aebcaa1fb1b53b2424c74b821b39 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