Welcome to Freegistutorial.com. Today, we are going to learn how to merge vector layers on QGIS 3.2. If you have 2 or more layers, you can easily merge them into a single layer. As long as the layers have the same geometry, we can merge them. No matter if the tables have different attributes/columns, we still be able to merge them.
What we need
- Merge Vector Layer tool
Steps to Merge Vector Layers on QGIS 3.2
First, open the layers in QGIS canvas. Please note that we can only merge layers with the same geometry. For example, we can merge two polyline layers, but we cannot merge point layer with polyline layer. Also, it is recommended only combine the tables or layers with the same CRS. Otherwise, the combined table will use the CRS of the first table (you can also choose the CRS for the resulting layer). And all the layers will be reprojected to match the CRS. Let’s get started.
Let’s presume that I have two vector layers opened in QGIS canvas.
As you can see there are two New scratch layers on my Layers list. I want to combine or merge these two layers into a single layer. What I would do is to use the Merge Vector Layer Tool. You can open this tool by going to Processing Toolbox and scroll down to Vector General. Under this Vector General, double-click Merge Vector Layer.
A new window will open up.
Now click the button next to the Input layers. We are going to select our source layers.
Next, select the destination CRS (optional) and also you can specify the output file if you want. Leave it blank and QGIS will create a temporary layer. Now we have a new Merged layer that contains objects from the two layers.
Done. It is pretty easy right? Thanks for reading, hope you enjoy it and see you in the next tutorials.