Skip to content
1e commit
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


QGIS plugin to retrieve tiles of a dataset by selecting features of an opened vector layer in the mapcanvas.


  • In QGIS, select Plugins > Manage and Install Plugins...

  • Download and unzip to your QGIS plugins directory


  • Open a vector layer with a valid tile-index field

  • select some features

  • select the vector layer and set the index-field

  • select the source URL of the tiled dataset

  • Set the output location, existing files with the same name will be overwritten

  • choose whether the result should be extracted

  • press the download button to start

The download process is handled by a separate thread. Therefore QGIS can preform other tasks during the download. For testing purposes we have prepared a tiled dataset with high-resolution elevation data of one of the Dutch islands. The first dataset contains the raw data. The second one contains modified data: NoData zones are filled with the most probable value based on the topography.

The plugin is already configured for this test. You can just select WFS: testGISplein and one of the source URL's to download this example.

Open WFS layer (optional)

  • connect

    add the selected service to the canvas
  • new

    add a new service. This will open a dialog where you can enter the specifications of a new service, e.g:
  • delete

    delete the selected service completely

  • edit:

    edit the configuration of the selected service

Select index layer

Choose the vector layer and set the field holding the tile-index

Source URL

Select or edit the source URL of the tiled dataset. When an existing URL is modified it will be saved in a new record. URLs that are no longer used can be removed.


After the download is completed, the results tab is selected showing some info about the outcome. A temporary vector layer is created with the results. This allows a new attempt to retrieve the missing tiles. To start a new download session you have to push the reset button.

Loading the raster tiles

When using the raster files in QGIS for analysis or visualisation it isn't necessary to merge al the files together to one big raster dataset. GDAL / QGIS comes with the functionality to create a Virtual Raster.

Menubar > Raster > Miscellaneous > Build Virtual Raster (Catalog)...

The .VRT file is just a XML file holding the geometric metadata of the tiles. Only the necessary data is loaded by QGIS.

Reporting bugs

Please report any problems you have with the AHNdownloader. To ensure no time or effort is wasted in bug reporting, please follow these steps: Make sure you are using the latest release of the plugin Check the issues on Github to see whether the bug has already been reported, and if so, read through all the comments on the issue, and add any additional information from your experience of the bug Make sure you can reproduce the bug reliably

Raise a <a href"">Github issue, including: the AHNdownloader version (or make it clear you are using Github master branch) any Python error text/stack trace which occurs a link to the dataset you used, if possible

You can’t perform that action at this time.