Add Web Layer
add_web_layerAdd a web layer to a QGIS project using XYZ, WMS, or WFS services. Provide the URL and service type; optionally specify a CRS for WMS and WFS, while XYZ uses EPSG:3857.
Instructions
Add a web layer (XYZ, WMS, WFS) to the project. service: 'xyz', 'wms', 'wfs'. crs is optional and only meaningful for wms ('crs=' in the uri) and wfs ('srsname='): leave it unset to take whatever the service serves natively. XYZ tiles are always EPSG:3857, so requesting another CRS for them is an error rather than a silent no-op. The response reports the CRS the layer actually got.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| url | Yes | ||
| name | No | ||
| service | Yes |