Making a Map (QGIS3) — QGIS Tutorials and Tips (2024)

Often one needs to create a map that can be printed or published. QGIS has a powerful tool called Print Layout that allows you to take your GIS layers and package them to create maps.

Overview of the task

The tutorial shows how to create a map of Japan with standard map elements like map inset, grids, north arrow, scale bar and labels.

Other skills you will learn

  • How to view and change QGIS Project Variables

  • How to use QGIS expressions

Get the data

We will use the Natural Earth dataset - specifically the Natural Earth Quick Start Kit that comes with beautifully styled global layers that can be loaded directly to QGIS.

Download the Natural Earth Quickstart Kit. If the download link doesn’t work, get it directly from Natural Earth Downloads page.

Data Source [NATURALEARTH]

Procedure

  1. Download and extract the Natural Earth Quick Start Kit data. Open QGIS. Locate the Natural Earth quick start folder in the Browser panel. Expand the folder to locate the Natural_Earth_quick_start_for_QGIS_v3 project. This is the project file that contains styled layers in QGIS Document format. Double-click the project to open it.

Making a Map (QGIS3) — QGIS Tutorials and Tips (1)

Note

If you get a pop-up dialog named Handle Unavailable Layers, click the Auto-Find button followed by Apply Changes to fix the error.

  1. If your map is in your preferred language, you can proceed to Step 4. If not, you can change the language of the labels. This project uses variables to set the language. We can change the variables by going to Project ‣ Properties.

Making a Map (QGIS3) — QGIS Tutorials and Tips (2)

Note

Project variables are a great way to store project-specific values for use anywhere you can use an expression in QGIS. The Natural_Earth_quick_start_for_QGIS_v3 project comes with many preset variables that are used for styling within that project.

  1. Switch to the Variables tab in the Project Properties dialog. Locate the project_language variable and click on the Value column to edit it. Change the language to name_en and click OK.

Making a Map (QGIS3) — QGIS Tutorials and Tips (3)

  1. Back in the main QGIS window, click the Refresh button in the Map Navigation Toolbar. You will now see the map rendered with English labels.

Making a Map (QGIS3) — QGIS Tutorials and Tips (4)

  1. Use the pan and zoom controls in the Map Navigation Toolbar and zoom to Japan.

Making a Map (QGIS3) — QGIS Tutorials and Tips (5)

  1. You can turn off some map layers for data that we do not need for this map. Expand the z5 - 1:18m folder and uncheck the box next to ne_10m_geography_marine_polys and ne_10m_admin_0_disputed_areas layers. Before we make a map suitable for printing, we need to choose an appropriate projection. The default CRS for the project is set to EPSG:3857 Pseudo-Mercator. This is a CRS popularly used for web mapping and is a decent choice for our purpose, so we can leave it to its defalt value. Go to Project ‣ New Print Layout.

Making a Map (QGIS3) — QGIS Tutorials and Tips (6)

Note

For Japan, Japan Plane Rectangular CS is a projected coordinate referencesystem (CRS) that is designed for minimum distortions. It is divided in 18zones and if you are working for a smaller region in Japan, using this CRSwill be better.

  1. You will be prompted to enter a title for the layout. You can leave itempty and click Ok.

Making a Map (QGIS3) — QGIS Tutorials and Tips (7)

Note

Leaving the layout name empty will assign a default name such asLayout 1.

  1. In the Print Layout window, click on Zoom full button to display the full extent of the Layout.

Making a Map (QGIS3) — QGIS Tutorials and Tips (8)

  1. Now we would have to bring the map view that we see in the QGIS Canvas to the layout. Go to Add Item ‣ Add Map.

Making a Map (QGIS3) — QGIS Tutorials and Tips (9)

  1. Once the Add Map mode is active, hold the left mouse button and drag a rectangle where you want to insert the map.

Making a Map (QGIS3) — QGIS Tutorials and Tips (10)

  1. You will see that the rectangle window will be rendered with the map from the main QGIS canvas. The rendered map may not be covering the full extent of our interest area. Use Edit ‣ Select/Move item and Edit ‣ Move Content options to pan the map in the window and center it in the composer.

Making a Map (QGIS3) — QGIS Tutorials and Tips (11)

  1. Let us also adjust the zoom level for the map. Click on the Item Properties tab and enter 10000000 as the Scale value.

Making a Map (QGIS3) — QGIS Tutorials and Tips (12)

  1. Now we will add a map inset that shows a zoomed in view for the Tokyo area. Before we make any changes to the layers in the main QGIS window, check the Lock layers and Lock styles for layers boxes. This will ensure that if we turn off some layers or change their styles, this view will not change.

Making a Map (QGIS3) — QGIS Tutorials and Tips (13)

  1. Switch to the main QGIS window. Turn off the layer group z5 - 1:18m and activate the z7 - 1: 4m group. This layer group has styling that is more appropriate for a zoomed-in view. Use the pan and zoom controls in the Map Navigation Toolbar and zoom around Tokyo.

Making a Map (QGIS3) — QGIS Tutorials and Tips (14)

  1. We are now ready to add the map inset. Switch the the Print Layout window. Go to Add Item ‣ Add Map.

Making a Map (QGIS3) — QGIS Tutorials and Tips (15)

  1. Drag a rectangle at the place where you want to add the map inset. You will now notice that we have 2 map objects in the Print Layout. When making changes, make sure you have the correct map selected.

Making a Map (QGIS3) — QGIS Tutorials and Tips (16)

  1. Select the Map 2 object that we just added from the Items panel. Select the Item properties tab. Scroll down to the Frame panel and check the box next to it. You can change the color and thickness of the frame border so it is easy to distinguish against the map background.

Making a Map (QGIS3) — QGIS Tutorials and Tips (17)

  1. One neat feature of the Print Layout is that it can automatically highlight the area from the main map which is represented in the inset. Select the Map 1 object from the Items panel. In the Item properties tab, scroll down to the Overviews section. Click the Add a new overview button.

Making a Map (QGIS3) — QGIS Tutorials and Tips (18)

  1. Select Map 2 as the Map Frame. This tells the Print Layout to highlight the current object Map 1 with the extent of the map shown in the Map 2 object.

Making a Map (QGIS3) — QGIS Tutorials and Tips (19)

  1. Now that we have the map inset ready, we will add a grid to the main map. Select the Map 1 object from the Items panel. In the Item properties tab, scroll down to the Grids section. Click the Add a new grid button, followed by Modify grid….

Making a Map (QGIS3) — QGIS Tutorials and Tips (20)

  1. By default, the grid lines use the same units and projections as the currently selected map projections. However, it is more common and useful to display grid lines in degrees. We can select a different CRS for the grid. Click on the Change… button next to CRS.

Making a Map (QGIS3) — QGIS Tutorials and Tips (21)

  1. In the Coordinate Reference System Selector dialog, enter 4326 in the Filter box. From the results, select the WGS84 EPSG:4326 as the CRS. Click OK.

Making a Map (QGIS3) — QGIS Tutorials and Tips (22)

  1. Select the Interval values as 5 degrees in both X and Y direction. You can adjust the Offset to change where the grid lines appear.

Making a Map (QGIS3) — QGIS Tutorials and Tips (23)

  1. Scroll down to the Grid frame section and check the Draw coordinates box. The default format is Degrees but it appears as a number. We can customize is to append a ° symbol. Choose Custom and click the Expression button next to it.

Making a Map (QGIS3) — QGIS Tutorials and Tips (24)

  1. Enter the following expression to create a string that takes the grid number and appends ° symbol to it.

concat(to_string(@grid_number), '° ')

Making a Map (QGIS3) — QGIS Tutorials and Tips (25)

  1. Notice that the grids now have a custom label from the expression. Adjust the position settings for Left, Right, Top and Bottom as per your liking.

Making a Map (QGIS3) — QGIS Tutorials and Tips (26)

  1. Now we will add a Rectangluar frame to hold other map elements like north arrow, scale and label. Go to Add Item ‣ Add Shape ‣ Add Rectangle.

Making a Map (QGIS3) — QGIS Tutorials and Tips (27)

  1. You can change the Style of the rectangle to match the map background.

Making a Map (QGIS3) — QGIS Tutorials and Tips (28)

  1. Now we will add a North Arrow to the map. QGIS comes with a nice collection of map-related images - including many types of North Arrows. Click Add Item ‣ Add Picture.

Making a Map (QGIS3) — QGIS Tutorials and Tips (29)

  1. Holding your left mouse button, draw a rectangle. On the right-hand panel, click on the Item Properties tab and select the SVG image section and scroll down to find arrows from the SVG Groups. Select the image of your liking.

Making a Map (QGIS3) — QGIS Tutorials and Tips (30)

  1. Now we will add a scale bar. Click on Add Item ‣ Add Scalebar.

Making a Map (QGIS3) — QGIS Tutorials and Tips (31)

  1. Click on the layout where you want the scalebar to appear. In the Item Properties tab, make sure you have chosen the correct map element Map 1 for which to display the scalebar. Choose the Style that fit your requirement. In the Segments panel, change the Fixed width to 200 units and adjust the segments to your liking.

Making a Map (QGIS3) — QGIS Tutorials and Tips (32)

  1. It is time to label our map. Click on Add Item ‣ Add Label.

Making a Map (QGIS3) — QGIS Tutorials and Tips (33)

  1. Click on the map and draw a box where the label should be. In the Item Properties tab, expand the Label section and enter a label for the map. Similarly add another labels for data and software credits.

Making a Map (QGIS3) — QGIS Tutorials and Tips (34)

  1. Once you are satisfied with the map, you can export it as an Image, PDF or SVG. For this tutorial, let’s export it as an image. Click Layout ‣ Export as Image.

Making a Map (QGIS3) — QGIS Tutorials and Tips (35)

  1. Save the image in the format of your liking. Below is the exported PNG image.

Making a Map (QGIS3) — QGIS Tutorials and Tips (36)

If you want to give feedback or share your experience with this tutorial, please comment below. (requires GitHub account)

Making a Map (QGIS3) — QGIS Tutorials and Tips (2024)

References

Top Articles
Sally Beauty Expands Same-Day Delivery Services with Instacart Deal
If you stripped your hair and bleached it twice and now it is orange and yellow how do you take that away? - Answers
Elleypoint
Overton Funeral Home Waterloo Iowa
Top Scorers Transfermarkt
Txtvrfy Sheridan Wy
Sissy Hypno Gif
Delectable Birthday Dyes
Optimal Perks Rs3
Kent And Pelczar Obituaries
Evita Role Wsj Crossword Clue
Inside California's brutal underground market for puppies: Neglected dogs, deceived owners, big profits
Syracuse Jr High Home Page
zopiclon | Apotheek.nl
Sports Clips Plant City
How Much Are Tb Tests At Cvs
What is Rumba and How to Dance the Rumba Basic — Duet Dance Studio Chicago | Ballroom Dance in Chicago
Charter Spectrum Store
Outlet For The Thames Crossword
ABCproxy | World-Leading Provider of Residential IP Proxies
Self-Service ATMs: Accessibility, Limits, & Features
Is Windbound Multiplayer
Winco Employee Handbook 2022
How to Download and Play Ultra Panda on PC ?
Red8 Data Entry Job
Regal Amc Near Me
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Cona Physical Therapy
John Deere 44 Snowblower Parts Manual
Plasma Donation Racine Wi
Pdx Weather Noaa
Dtlr On 87Th Cottage Grove
Basil Martusevich
CARLY Thank You Notes
Orangetheory Northville Michigan
The Boogeyman Showtimes Near Surf Cinemas
Tirage Rapid Georgia
Pensacola Cars Craigslist
Adam Bartley Net Worth
Express Employment Sign In
Let's co-sleep on it: How I became the mom I swore I'd never be
Jack In The Box Menu 2022
Wilson Tattoo Shops
Updates on removal of DePaul encampment | Press Releases | News | Newsroom
Tom Kha Gai Soup Near Me
Tlc Africa Deaths 2021
Rubmaps H
O'reilly's On Marbach
Sj Craigs
Convert Celsius to Kelvin
Download Twitter Video (X), Photo, GIF - Twitter Downloader
Primary Care in Nashville & Southern KY | Tristar Medical Group
Latest Posts
Article information

Author: Kelle Weber

Last Updated:

Views: 6782

Rating: 4.2 / 5 (73 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.