Getting Started - QGIS Documentation Documentation
Getting Started - QGIS Documentation Documentation
Getting Started
Previous Next
5. Getting Started
Installing QGIS
Installing from binaries
Installing from source
Installing on external media
Downloading sample data
Starting and stopping QGIS
Sample Session: Loading raster and vector layers
This chapter provides a quick overview of installing QGIS, downloading QGIS sample data, and running a first simple session visualizing raster and vector data.
QGIS project provides different ways to install QGIS depending on your platform.
Standard installers are available for MS Windows and macOS. Binary packages (rpm and deb) or software repositories are provided for many flavors of
GNU/Linux .
For more information and instructions for your operating system check https://download.qgis.org.
If you need to build QGIS from source, please refer to the installation instructions. They are distributed with the QGIS source code in a file called INSTALL . You can
also find them online at https://github.com/qgis/QGIS/blob/release-3_34/INSTALL.md.
If you want to build a particular release and not the version in development, you should replace master with the release branch (commonly in the release-X_Y form)
in the above-mentioned link (installation instructions may differ).
It is possible to install QGIS (with all plugins and settings) on a flash drive. This is achieved by defining a –profiles-path option that overrides the default user profile
path and forces QSettings to use this directory, too. See section System Settings for additional information.
This user guide contains examples based on the QGIS sample dataset (also called the Alaska dataset ). Download the sample data from https://github.com/qgis/QGIS-
Sample-Data/archive/master.zip and unzip the archive on any convenient location on your system.
The Alaska dataset includes all GIS data that are used for the examples and screenshots in this user guide; it also includes a small GRASS database. The projection for
the QGIS sample datasets is Alaska Albers Equal Area with units feet. The EPSG code is 2964.
If you intend to use QGIS as a graphical front end for GRASS, you can find a selection of sample locations (e.g., Spearfish or South Dakota) at the official GRASS GIS
website, https://grass.osgeo.org/download/data/.
the menu option Project ► Exit QGIS or use the shortcut Ctrl+Q
or use the red cross at the top-right corner of the main interface of the application.
5.3. Sample Session: Loading raster and vector layers
Now that you have QGIS installed and a sample dataset available, we will demonstrate a first sample session. In this example, we will visualize a raster and a vector
layer. We will use:
Note
You can ignore/close for now the “ballpark transform” message that could display.
3. Select the ERDAS IMG file landcover.img and double-click it. The landcover layer is added in the background while the Data Source Manager window
remains open.
Fig. 5.2 Adding data to a new project in QGIS
4. To load the lakes data, browse to the folder qgis_sample_data/gml/ , and drag and drop the lakes.gml file over QGIS main dialog. (Or just double-click as
mentioned above.)
5. The Select Items to Add dialog opens, scanning the file. This is due to .gml file format being able to store more than one layer at a time.
1. Click the icon. The Coordinate Reference System Selector dialog opens.
2. As done earlier, find and select the NAD27 / Alaska Albers CRS entry.
3. Click OK
You now have the two layers available in your project in some random colours. Let’s do some customization on the lakes layer.
Zoom In
1. Select the tool on the Navigation toolbar
2. Zoom to an area with some lakes
3. Double-click the lakes layer in the map legend to open the Properties dialog
4. To change the lakes color:
6. You can improve readability of the labels by adding a white buffer around them:
Let’s now add some decorations in order to shape the map and export it out of QGIS:
That’s it! You can see how easy it is to visualize raster and vector layers in QGIS, configure them and generate your map in an image format you can use in other
softwares. Let’s move on to learn more about the available functionality, features and settings, and how to use them.
Note
To continue learning QGIS through step-by-step exercises, follow the Training manual.