/PCRasterQGIS

QGIS processing plugins to make PCRaster available in the Processing Toolbox

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Note that the tools are now available in the PCRaster Tools Plugin from the QGIS Plugins Repository

See https://jvdkwast.github.io/qgis-processing-pcraster/

PCRasterQGIS

QGIS processing scripts to make PCRaster available in the Processing Toolbox. Use QGIS in Anaconda and install PCRaster.

Save the scripts to your QGIS profile folder \processing\scripts

Install PCRaster and QGIS

  1. Use the Anaconda prompt

  2. Create the environment with PCRaster and QGIS:

    conda create --name pcrasterqgis-c conda-forge pcraster qgis

    It also installs some other useful libraries.

  3. Activate the environment conda activate pcrasterqgis

  4. Now you can use both PCRaster and QGIS. For example open the python prompt in QGIS and import pcraster there.

More info about installing PCRaster with conda: https://pcraster.geo.uu.nl/pcraster/4.3.1/documentation/pcraster_project/install.html

More info about installing QGIS with conda: https://gisunchained.wordpress.com/2019/05/29/using-qgis-from-conda/

Video tutorial

After setting up the conda environment, you can use the QGIS Resource Sharing plugin to add PCRaster tools to the toolbox. Install the plugin, go to Settings and add: https://github.com/jvdkwast/qgisrepository.git

resourcesharingpcraster

QGIS Open Day May 2021 presentation