GIS-02 GIS Concepts
2. GIS Concepts
In this module, you will work in the QGIS desktop GIS application to explore GIS data in various forms.
2.1. Open QGIS and load data
In AppStream, launch QGIS 3.28 from the applications menu
In the main menu, go to Project > Save, and save your project (even though thereâs nothing in it yet) in your Home Folder
Load your first layer:
In the menu, go to Layer > Add Layer > Add Vector Layer and under Source, use the three dots on the right to navigate to one of the layers you downloaded in the previous exercise (if you didnât manage to download any data, navigate to Home Folder > QGIS Training > Data > Vector and use any of the .shp files)
In the Data Source Manager dialog, click Add to add load the layer, then Close
You should now be seeing your data listed in the Layers panel on the left, and displayed on the map canvas on the right
Use your mouse to pan and zoom (with the mouse wheel) the layer
Load some base data:
Go to Layer > Add Layer > Add XYZ Layer and select OpenStreetMap under XYZ Connections
The OpenStreetMap base map will appear in the layer list and map canvas
Drag and drop the layers in the layer list to change the order, and to see the effect layer ordering has on visibility
Save the project using the Save button in the toolbar
You have now created your first map, with a vector and a base map layer! We are now going to look at the data behind the vector layer you have loaded.
2.2. Working with Attributes
Behind every vector data layer is an attribute table - have a look at this now.
Click on one of the vector layers in the Layers panel, then right-click > Open Attribute Table
The attribute table for the layer will appear
Navigate around the table, including scrolling to the right so see all columns if necessary
Click on a column heading to sort by that column
Click on a row number to highlight (select) the row - you should see the geographical feature which the row corresponds to also highlighted on the map (if you canât, find the Zoom map to the selected rows button in the toolbar and click it)
Hover over the buttons in the Attribute Table toolbar to get an idea of some of the things you can do
To see the attributes for a single feature, in the main menu, go to View > Identify features (or find the Identify Features toolbar button) - your cursor should now have an 'i' next to it
With a vector layer in the layer list highlighted, click on a geographical feature on the map - you will see all its attribute values displayed in the Identify Results panel
Save the project
You should now have a feel for vector layers, and how they are handled in a GIS application.
2.3. Loading Raster Data
We are now going to load a raster data layer.
In the main menu, go to Layer > Add Layer > Add Raster Layer
Under Source, navigate to Home Folder\QGIS Training\Data\raster\1250K, and select one or the .tif files and click Open
In the Data Source Manager dialog, click Add then Close
You may not be able to see the new layer - if thatâs the case, right-click on the layer and select Zoom to Layer
The new layer should now be centred in the map canvas
Zoom in and out to find an appropriate viewing scale - notice that the Scale indicator at the bottom of the screen show the current scale, and can also be used to set the scale
Navigate to one of the edges of the image you have loaded - you should see the OpenStreetMap layer behind it, with features such as roads and railways corresponding at the join
Save the project
You have now created a simple map which includes:
File-based vector data
File-based raster data
Internet-based base raster data (the OpenStreetMap layer)