Create, display, and evaluate geodata with QGIS
Map Game

Create and display geospatial data with the versatile and popular QGIS.
Most modern mapping information is not stored as a single complete picture, the way it used to be when you found your geographic information from a map on a wall or in an atlas. Maps have become fully integrated with the digital revolution. The map you view from your computer screen or telephone is transmitted to the device as a bundle of geospatial information that is stored in a file or database. An application on the receiving device assembles this data into a view that the user can recognize as a map.
This geospatial data is available online from many sources, including research institutions, government agencies, and nonprofit groups. Of course, it is also possible to create your own geographical information file, which is the modern equivalent of drawing your own map. Another option is somewhere between the alternatives of downloading or rolling your own: Many users start with public information and then customize the map by adding their own annotations and features.
Linux supports numerous Geographical Information System (GIS) tools that help to create, edit, analyze, and visualize geospacial data. One of the most popular GIS solutions is QGIS [1]. The Quantum-GIS geographical tool, which has undergone continuous development since 2002, is licensed under GPLv2 and available for several platforms.
QGIS uses a PostgreSQL database with the PostGIS extension to capture geographical elements. The modular structure of the software allows the user to extend the functionality by adding plugins. QGIS also supports interfaces to OpenStreetMap, GRASS GIS, and various statistics programs. The system can handle all common vector and raster graphics formats.
With its simple user guidance and sophisticated display functions, QGIS has established itself as an important tool for research professionals. Excellent multilingual documentation and tutorials mean that the software is also quite accessible to beginners.
Installation
You will find precompiled QGIS packages in the repositories of all major Linux distributions; however, if you want to be sure you have the most recent version, manual setup is a better option. The project website provides detailed documentation on integrating QGIS into various systems [2]. Be sure to read the notes on supported operating system versions, because not all program versions work with all Linux distributions due to missing dependencies. For some Debian derivatives, you must first install the apt-transport-https package, because the QGIS repositories work with SSL encryption.
To start QGIS, click QGIS Desktop in the Start menu. First, a configuration window lets you decide whether to transfer data from a previous version. After you click on one of the options, the program window opens. The window appears largely empty for new installations without imported data (Figure 1). The main window is divided into five sections: At the top, you will find an extensive menubar and a buttonbar. On the left, a browser and a layer area appear below each other, and on the right you will see a list of recently edited projects.
If you load one of your projects, the map view appears in the right window area. The browser and layer areas display the map elements in a tree view. The browser displays data carriers, linked geodatabases, and map services; the layers represent the different levels of a map. The software visualizes the layers hierarchically, so that moving or (de-)activating the individual layers changes the map image accordingly. A status bar at the bottom of the window provides information on coordinates, scale, and magnification of the map.
Individual
The flexible interface can easily adapt to your ideas. For example, minimizing the layer and browser view creates more space for the map. You can place individual window segments anywhere by dragging the titlebar while holding down the left mouse button. To switch the window segments completely on and off, use the dialog panels in the View menu.
The toolbar consists of individual tool groups that you can move individually to the margins of the program window and arrange vertically. If necessary, switch complete tool groups on or off via View | Toolboxes.
To remove individual unneeded buttons from the toolbars, open the Settings | Interface Customizations… menu and check the Enable customizations option in the overlaying window. You can then navigate through the individual menu hierarchies and deactivate unnecessary options by unchecking the boxes (Figure 2). To apply the changes, restart the software.
For friends of shortcuts, QGIS offers the option of defining individual shortcuts for different functions in the Settings | Shortcuts menu. In the Settings | Options dialog, you can also adjust the font and icon size to your requirements. This function is particularly useful for very high-resolution screens, since the default size for icons and fonts on screens beyond FHD resolutions (1920x1080 pixels) often appear too small.
Mess of Data
Many public institutions provide data on a variety of topics for free download over the web. Other geographical data is available in the form of Web Map Service files (WMS) on the servers of public institutions.
QGIS lets you load this free geographical data into a new or existing project. In the menubar in the Layer | Add Layer menu, you will find various options for creating a new map layer. Depending on the data format, you have to differentiate between vector and raster data. You can also integrate a database into the software, and you can then localize and load the data in a small file manager on the local mass storage system. The software supports several common database formats.
The downloaded data appears on the left in the layer area.
You can complete this task more elegantly in the browser area, which also contains a small file manager. From the browser area, you can transfer the data using drag-and-drop. If several geo files are in the directory, right-click on the desired file and select Add Selected Layer(s) to Map (Figure 3).
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
Red Hat Migrates RHEL from Xorg to Wayland
If you've been wondering when Xorg will finally be a thing of the past, wonder no more, as Red Hat has made it clear.
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.
-
OpenELA Releases Enterprise Linux Source Code
With Red Hat restricting the source for RHEL, it was only a matter of time before those who depended on that source struck out on their own.
-
StripedFly Malware Hiding in Plain Sight as a Cryptocurrency Miner
A rather deceptive piece of malware has infected 1 million Windows and Linux hosts since 2017.
-
Experimental Wayland Support Planned for Linux Mint 21.3
As with most Linux distributions, the migration to Wayland is in full force. While some distributions have already made the move, Linux Mint has been a bit slower to do so.