Installing QGIS and Plugins
Introduction
QGIS (Quantum Geographic Information System) is a free, open-source desktop GIS application that will serve as our primary tool for spatial data analysis and cartography. This lab will guide you through the installation process and setup of essential plugins and additional software tools.
Learning Objectives
By the end of this lab, you will be able to:
- Install QGIS and verify proper functionality
- Install and configure essential QGIS plugins
- Set up additional software tools for the course
- Configure text editing and file transfer applications
1. QGIS Installation
1.1 Download and Install QGIS
QGIS installation varies by operating system:
Windows:
- Visit qgis.org/en/site/forusers/download.html
- Download the Long Term Release (LTR) version
- Run the installer with administrator privileges
- Accept default installation options
macOS:
- Download the official QGIS installer for macOS
- Follow the installation instructions carefully
- Allow installation from identified developers in System Preferences
- Verify installation by launching QGIS
Linux:
- Use your distribution's package manager
- Add the official QGIS repository for latest versions
- Install using apt, yum, or equivalent package manager
1.2 First Launch and Verification
After installation:
- Launch QGIS and wait for the splash screen
- Verify the interface loads properly
- Check the About dialog for version information
- Test basic functionality by creating a new project
2. Essential QGIS Plugins
2.1 Quick Map Services
Quick Map Services provides easy access to basemap layers:
- Go to Plugins → Manage and Install Plugins
- Search for "QuickMapServices"
- Install and enable the plugin
- Access via Web → QuickMapServices menu
- Enable additional providers in settings for more basemap options
2.2 WhiteBox Tools
WhiteBox Tools provides advanced terrain analysis capabilities:
- In the Plugin Manager, search for "WhiteboxTools Open-Core"
- Install the plugin
- The plugin will download the WhiteBox executable automatically
- Verify installation by checking the Processing Toolbox
- Test with a simple terrain analysis function
2.3 SAGA and SAGA Next Generation Plugin
SAGA provides additional geoprocessing algorithms:
- Search for "SAGA NextGen" in the Plugin Manager
- Install the plugin
- SAGA tools will appear in the Processing Toolbox
- Verify installation by expanding the SAGA folder in Processing
- Note: Some tools may require additional configuration
3. Additional Software Installation
3.1 OpenRefine
OpenRefine is essential for data cleaning and transformation:
Installation:
- Visit openrefine.org
- Download the appropriate version for your OS
- Extract the downloaded file
- Launch according to your operating system instructions
- Verify by opening localhost:3333 in your browser
Usage Notes:
- OpenRefine runs as a local web application
- Keep the terminal/command window open while using
- Works with CSV, JSON, XML, and other structured data formats
3.2 Secure FTP Client
For transferring files to Stanford's AFS system:
FileZilla (Cross-platform):
- Download from filezilla-project.org
- Install using default settings
- Configure connection to myth.stanford.edu
- Test connection with your Stanford credentials
Alternative Options:
- Windows: WinSCP
- macOS: Cyberduck or built-in Terminal
- Linux: Command-line sftp or nautilus
3.3 Text Editor
A good text editor is essential for code and documentation:
Recommended Options:
- Visual Studio Code (free, cross-platform, excellent for code)
- Atom (free, highly customizable)
- Sublime Text (fast, powerful, trial available)
- Notepad++ (Windows only, lightweight)
Configuration Tips:
- Install syntax highlighting for common spatial data formats
- Configure line endings for your operating system
- Enable word wrap for markdown files
4. Configuration and Testing
4.1 QGIS Configuration
Optimize QGIS for course work:
- Set default coordinate reference system to WGS84
- Configure processing tools location
- Set up project templates
- Configure rendering and performance settings
4.2 Plugin Testing
Verify all plugins work correctly:
- Load a sample dataset
- Test Quick Map Services basemap loading
- Run a simple WhiteBox terrain analysis
- Verify SAGA tools appear in Processing Toolbox
4.3 Integration Testing
Test software integration:
- Create a simple dataset in QGIS
- Export to CSV and open in OpenRefine
- Clean data in OpenRefine and re-import to QGIS
- Save project and verify all components work together
Troubleshooting Common Issues
QGIS Won't Launch
- Check system requirements
- Run as administrator (Windows)
- Clear QGIS settings folder
- Reinstall with antivirus disabled
Plugins Not Working
- Verify QGIS version compatibility
- Check internet connection for online plugins
- Clear plugin cache
- Reinstall problematic plugins
Processing Tools Missing
- Enable Processing plugin in Plugin Manager
- Refresh Processing Toolbox
- Check provider settings in Processing options
Next Steps
With QGIS and essential plugins installed, you're ready to create your first maps and begin exploring the world of spatial data visualization and analysis.