Skip to content

Instantly share code, notes, and snippets.

@p1d1d1
Last active July 9, 2021 08:52
Show Gist options
  • Save p1d1d1/558ab209a9d95300a7fc9857e05cf02f to your computer and use it in GitHub Desktop.
Save p1d1d1/558ab209a9d95300a7fc9857e05cf02f to your computer and use it in GitHub Desktop.

Virtual layer for SWISSIMAGE

  1. Go to https://www.swisstopo.admin.ch/en/geodata/images/ortho/swissimage10.html#download
  2. Choose a selection mode (rectangle, polygon, municipality, ...)
  3. Set your options, click on search, click on export all link and download the CSV file
  4. Prefix each URL in the CSV file with the string "/vsicurl/"
  5. Run
gdalbuildvrt -input_file_list yourDownloadedFile.csv yourOutputFile.vrt 

  1. Use yourOutputFile.vrt in QGIS or with gdal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment