QGIS

Support tip: Add SVG symbols to your QGIS project

One of the best features of using Mergin Maps for your field survey project is the degree of flexibility you have to design your survey layers. Whether you have your own custom background layers that you want to use or your own map symbology that you want to represent features on your map. 

For many cases, using simple markers with a categorised colour scheme is not sufficient to give your field workers and clients enough context to understand the information displayed in your project. In order to better represent your data, you might want to use SVG symbols in your project. 

If you simply open the layer properties in QGIS and go to the Symbology tab and select an SVG symbol to represent features in your project, it is likely that it will not load properly in Mergin Maps. However, it is possible to add SVG symbols to your Mergin Maps project in just a few easy steps. In this guide, we will show you two methods to add SVG symbols to your project.

Use a symbol from the QGIS library

In our first example, we will show you how to add a SVG symbol from the QGIS library. We have an example project where we are going to map different activity areas in our local community. So far, we have mapped the locations of several sports fields and skateparks. The sports fields are currently represented by red dots and the skateparks are represented by purple dots. 

In the future we plan to add more features for the parks and recreation areas, so we want to add some symbols to make it easier for our surveyors and end users to find what they are looking for on the map. We’re going to start by adding a symbol for the sports fields. To do this, we’ll take the following steps:

1. Right click on the ‘sports_fields’ layer, select ‘Properties…’ and go to the ‘Symbology’ tab.

2. Click on ‘Simple Marker’ and then set ‘Symbol layer type’ to ‘SVG Marker’.

3. Scroll down to ‘SVG browser’ and select the symbol you want to use. In our case, we’re going to use the soccer ball symbol.

If this were a standard QGIS project, you would just need to scroll back to the top of the menu and set the colour and size of your symbol and click ‘OK’ to add it to your project. But we need to store everything in the project folder so that Mergin Maps can sync it to the server. These next steps will show you how to do this:

4. Scroll down to ‘Dynamic SVG parameters’ where you will see the filepath for the selected symbol, click on the arrow to the right of the filepath and select ‘Embed File…’.

5. A file browser will open to the folder where your QGIS SVG symbol library is saved. Select the filename for the symbol, which should be automatically selected, and press ‘Open’.

6. Scroll back to the top of the menu and set the size and colour of your symbol. In this example we are going to set height and width to 5mm and keep the default black colour. Once you have the symbol the way you want it, press ‘OK’.

7. Synchronise your Mergin Maps project.

Now, when you open and sync the project in the mobile app, you can see the soccer ball symbol that we just added to our project:

Use a custom SVG symbol for your project

Next, we want to add a symbol for the skateparks that we have on our map. Unfortunately, QGIS does not have a symbol for skateboards so we have created our own basic symbol using a vector drawing program. We named the file ‘sk8er.svg’ and saved it in our project folder.

In order to add this symbol to our project we will take the following steps:

1. Right click on the ‘skateparks’ layer, select ‘Properties…’ and go to the ‘Symbology’ tab.

2. Click on ‘Simple Marker’ and then set ‘Symbol layer type’ to ‘SVG Marker’.

3. Scroll down to the ‘Dynamic SVG parameters’ section and select the drop down menu in the file path field and choose ‘Select File…’.

4. Browse to your project folder, select the .svg file for the symbol you want to use and click ‘Open’.

5. Set the size that you want for the symbol and click ‘OK’.

6. Synchronise your Mergin Maps project.

Now you can open the project in the mobile app and you will see that the custom SVG symbol has been included in the project.

You might also like

Mergin Maps

2024 - Year in review

December 20, 2024

Mergin Maps

Support tip: What to do if your project is too big

November 29, 2024

Mergin Maps

Mergin Maps now measures in taps

October 24, 2024

Mergin Maps

Announcing the first ever book about Mergin Maps from Locate Press

September 20, 2024

mobile

Support tip - How to make recording lines and polygons simple

August 30, 2024

Mergin Maps

5 best tools for field data collection

July 17, 2024

Mergin Maps

Introducing Editor permissions - our most-requested feature!

June 20, 2024

Mergin Maps

We hope you’re enjoying the new experience!

May 31, 2024

event

Chance to win Admin Essentials training voucher - just give a review to enter

May 31, 2024

Mergin Maps

Mergin Maps app is getting a fresh new look

March 28, 2024

Mergin Maps

QField vs. Mergin Maps - App Comparison

March 1, 2024

Mergin Maps

Hello from Mergin Maps!

February 13, 2024

plugin

Support tip: Downloading a previous version of your project

January 31, 2024

Mergin Maps

Mergin Maps 2023: our year in review

December 28, 2023

mobile

Mergin Maps is now faster and more stable than ever

November 15, 2023

plugin

Download tiles for offline background maps in five steps

October 30, 2023

partners

We've partnered with MarXact for high-precision surveying in Mergin Maps

October 27, 2023

event

Come see us at INTERGEO 2023 in Berlin

September 29, 2023

Mergin Maps

Mergin Maps Gets a Brand Refresh

September 27, 2023

Mergin Maps

We’ve added the ability to customise photo names in Mergin Maps!

August 31, 2023

mobile

You asked for it and we delivered… Position tracking in Mergin Maps!

August 22, 2023

Mergin Maps

Features wishlist - Help us help you!

July 27, 2023

Mergin Maps

Check out the Mergin Maps interview on App of the Day

May 4, 2023

event

Mergin Maps hope to see you at GeoBusiness London 2023

May 2, 2023

Mergin Maps

Worried about using open-source geospatial software for your business? Mergin Maps support is here for you!

April 28, 2023

Mergin Maps

Camptocamp partners with Mergin Maps to deliver open source GIS solutions

April 25, 2023

Mergin Maps

Subscription tiers are going to change

April 18, 2023

Mergin Maps

Mergin Maps Community and Enterprise Editions

March 31, 2023

Mergin Maps

Introducing Workspaces: Simplified Collaboration

January 31, 2023

Mergin Maps

Mergin Maps: a year in review (2022)

December 20, 2022

Mergin Maps

Mergin Maps in MapScaping podcast

December 15, 2022

plugin

View and track changes in QGIS

December 14, 2022

By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Cookie Policy for more information. Deny cookies here.