Vowa Baselayers – Maintenance
Implementation
The QGIS plugin is implemented as standard QGIS plugin with Python. It uses tables in the schema qgis_tools in the DPSpatial database for storing the information on the layers to be loaded into QGIS. The documentation is on this page. The repository can be found on the Vogelwarte GitLab.
Layer Types
The following layer types can be provided through the QGIS plugin:
- WMS
- WMTS
- QGIS Layer File
- Shapefile
- GeoPackage
- GeoTIFF
- PostGIS Vector Layer
Each layer type requires a set of parameters so that it is loaded properly in QGIS. You find the specification on this page.
Test Layers
In order to add layers in the table vowabaselayers that shall be seen only by development and test users you have to do the following:
- Create the environment variable "VOWA_BASELAYERS_DEV=true" on your computer.
- Add the layers and give them IDs greater than 1000.
&-Character in Tab Titles
The QGIS plugin replaces '&' characters in tab titles by default with '_'. If you want to use the '&' character in tab titles type it twice. For instance, the tab title "Lakes && Rivers" will be shown as "Lakes & Rivers" in the QGIS plugin.