2.2. Network installation in Windows 64 bit

2.2.1. QGIS download and installation

  • Download the latest QGIS version 64 bit using the OSGeo4W network installer from here ;

  • Execute the QGIS installer with administrative rights and select Advanced Install;

_images/osgeo_installer.jpg
  • Select Install from Internet; proceed selecting the default installation directory and the preferred network configuration;

_images/osgeo_advanced.jpg

The Semi-Automatic Classification Plugin requires Remotior Sensus, GDAL, NumPy and SciPy for most functionalities. Optionally, scikit-learn and PyTorch are required for machine learning.

  • In the menu Select packages select All > Desktop > qgis-full-free; also select All > Libs > python3-remotior-sensus, All > Libs > python3-scikit-learn and All > Libs > python3-torch;

_images/osgeo_packages.jpg _images/osgeo_packages_2.jpg _images/osgeo_packages_3.jpg _images/osgeo_packages_4.jpg
  • Click Next and accept to install the required dependencies;

_images/osgeo_dependencies.jpg

The download of the programs will start, and QGIS will be installed along with the required dependencies.

_images/QGIS.jpg

2.2.2. Semi-Automatic Classification Plugin installation

  • Run QGIS;

  • From the main menu, select Plugins > Manage and Install Plugins;

_images/install.jpg
  • From the menu All, select the Semi-Automatic Classification Plugin and click the button Install plugin;

_images/plugins.jpg
  • The SCP should be automatically activated; however, be sure that the Semi-Automatic Classification Plugin is checked in the menu Installed (the restart of QGIS could be necessary to complete the SCP installation);

_images/plugins_installed.jpg

2.2.3. Configuration of the plugin

Now, the Semi-Automatic Classification Plugin is installed and a dock and a toolbar should be added to QGIS. Also, a SCP menu is available in the Menu Bar of QGIS. It is possible to move the toolbar and the dock according to your needs, as in the following image.

_images/SemiAutomaticClassificationPlugin.jpg

The configuration of available RAM is recommended in order to reduce the processing time. From the SCP menu select settings_tool Settings > Processing .

_images/settings_processing.jpg

In the Settings, set the Available RAM (MB) to a value that should be half of the system RAM. For instance, if your system has 2GB of RAM, set the value to 1024MB.

_images/settings_processing_tab.png

2.2.4. Update of required dependencies

The dependency Remotior Sensus is frequently updated. The Semi-Automatic Classification Plugin can check automatically if a new version is available, and display a message in the SCP dock.

_images/remotior_sensus_update.png

It is recommended to close QGIS and update Remotior Sensus following the same installation steps described in QGIS download and installation.

In case the library Remotior Sensus is outdated, it is possible to open the OSGeo4W Shell (administrative rights may be required):

_images/osgeo4w_shell.jpg

and run the following command:

pip3 install --upgrade remotior-sensus