Managing QGIS Projects
A QGIS project is a collection of layers and settings that make up a QGIS map. Pozi uses these projects as layer catalogues, each of which is displayed in Pozi as a layer group.
The workflow for getting a project into Pozi are as follows:
create project configure web services start adding layers register project for Pozi
If you have an existing QGIS project that's already configured for Pozi, you can fast-track the steps below.
Save a copy of an existing project, remove all layers (except for any basemap that you might be using as a background layer), and skip to
Create new project from scratch:
- open QGIS
- Project > Save > specify name and path of new project file (
- note the exact file path of project file (needed for subsequent configuration below)
It's useful to include a basemap in the project to provide visual context for the layers you will add on top.
If you've set up 'Vicmap Basemap' as a WMS/WMTS source, you can easily one of its layers as your basemap.
Browser > WMS/WMTS > Vicmap Basemap > Vicmap Basemap - Web Mercator - Cartographic
Configure Web Services
Construct Advertised URL
The project's Advertised URL is a URL at which WMS and WFS requests can interact with the layers in the project file. Essentially, the project file needs a reference to itself in a URL format.
This step involves constructing the URL text that will be used in subsequent configuration below. You can use a temporary blank text document in Notepad to compile the text.
Combine the details below to create your project's Advertised URL:
- server URL (default server URL is
https://local.pozi.com/, but check your local setup for any custom endpoint)
- service endpoint (eg
- QGIS project file path, with any backslashes replaced with forward slashes (eg
Combine these three text strings to create the Advertised URL.
Example Advertised URL:
Copy the URL to your clipboard for subsequent configuration below.
Enable Web Services
- Project > Properties > QGIS Server
- update WMS capabilities settings
Exclude layers(tick) > add > pick any background layers you don't need to see in Pozi
Add geometry to feature response: tick on
Advertised URL: enter Advertised URL (from above)
- update WMTS capabilities settings
Published layers > Project > Published: tick on
Advertised URL: enter Advertised URL
- update the WFS capabilities settings:
Advertised URL: enter Advertised URL
- Project > Save (
A comprehensive guide for configuring QGIS projects for publishing layers via WMS/WFS can be found at:
See Configuring Layers for details about adding and configuring new layers within your project.
Remember to use only UNC paths for file-based layers.
When you're done, remember to enable any layers for WFS if required.
Test Project Load Performance
The speed at which Pozi can access layers from the QGIS project is limited by how fast QGIS can access the layers from their respective data sources.
To ensure that QGIS is able to access the layers quickly, check the project's performance using QGIS's debugging tool to identify any performance issues.
View > Panels > Debugging/Development Tools > Profiler (clock button)
As soon as you load your QGIS project, a new category called
Project Load will be available. Select it from the category list.
Expand the entry called
Reading map layers in the profiler tree to see all of the QGIS project layers and their corresponding loading time.
If the results show any layer that takes more than a fraction of a second to load, there may be an issue with the network or database that is worth investigating.
Some file formats can be less efficient than others for a project to load. Large GeoJSON files can be significantly slower to load than a their equivalent SHP, GeoPackage or TAB version, so consider using one of these faster formats.
Your new project must be registered in Pozi's central web configuration for users to view the map layers in your Pozi site.
Follow these steps to register your project:
- obtain the project's
- submit a helpdesk ticket to Pozi
1. Obtain GetProjectSettings URL
In a text editor, construct a
GetProjectSettings URL by combining the following:
- Advertised URL from above (eg
- GetProjectSettings request:
Combine these text strings to create a
Test this URL by pasting it in your browser and check that you get a valid response that lists the available layers.
2. Submit Helpdesk Ticket
Email email@example.com with these details:
- subject: New layer catalogue
- name of new layer group to appear in Pozi layer panel
- order in which the layer group is to appear in the Pozi Layer Panel (relative to an existing layer group)
GetProjectSettingsURL (from above)
Within 24 hours, the new layer group will be configured and available for users to view in Pozi.
During this time, and any time afterwards, you may continue to add and configure layers in your new project.
Check that advertised URLs contains the exact path and file name of the .qgs project file.
Check the Network panel in your browser console as you turn on layers. Look at the
GetFeature requests and preview the response. If it contains bounding box coordinates but no records, there may be an issue with IIS.
Open the IIS Manager, and recycle the PoziQgisServer application pool.
For further assistance, contact firstname.lastname@example.org.