Skip to main content
100%

Gist 2bd25e856943977444bac9a5fd8c6408

✓ Published0🌍 Public
TThomasG77
Last edited Feb 23, 2022
Created on Jan 11, 2022

This example shows a QGIS workflow for automatically populating the application with WMS, WMTS, and WFS service connections from the French IGN geoservices portal. The script scrapes the portal’s documentation page to find a CSV file containing service metadata, parses it using the `csv` module, and deduplicates entries via Python dictionaries. It then defines functions to add or remove connections in QGIS’s settings using `QgsSettings`, configuring parameters like URLs, versions, and axis orientation. The code demonstrates a practical approach to batch-importing OGC web services into a desktop GIS environment.

AI-generated description

Similar vizzes