Introduction to Mapping using QGIS
«< Previous | Next »> |
QGIS is most frequently used as a tool of geospatial data analysis, but it can also be used to create thematic maps that can be shared with a team or with the public. This is what the Layout
function is for. Let’s use this tool to create an output map that shows the map we have created. To use it:
New Composer
button. You will see this:This is what the page you print will look like. Now you can add elements to it to create your printable map.
Add new map
button. Your cursor will turn into a crosshair, that you will use to define a square or rectangular area in your layout where the map will be. Click and hold, then release to create a rectangle making sure to leave room on the top for the title of your map, and on the side for the legend and any other information you may want to add.Move item content
button on the right pane and you will be able to pan, zoom in/out the view of the map.Item properties
tab in the right pane, then under Layers
, check the boxes for Lock Layers
and Lock Styles for Layers
. This way, your view won’t change when you move around the view on the main QGIS screen.Set map to canvas extent
in the Item Properties box.Update preview
in the map properties box.Now let’s add the title:
Add a new Label
button.Item Properties
tab on the right of the Layout
. The Main Properties
box is the text that will actually be displayed.A thematic map is not very useful if we do not know what is being represented. This is why the legend is so important:
Add legend
button to add a legend. When you add it, you will notice that it will basically show everything that you had in your Layers
dialog box in the QGIS window. If you change something there, it will change in the layout too.Auto Update
feature in the Legend Item Properties
. Once you do, you will be able to rename and remove items to your liking.-
sign in the Legend items
section of the right-hand menu. You can also change the order of the elements.Add scale
button) and an arrow indicating North (Either click on Add arrow
button, or Add image
and choose a compass from the default image gallery).Print
to have it saved as a PDF or printed on paper.«< Previous | Next »> |