QGIS Integration Commands#

Generate QGIS-compatible files for easy access to GeoServer layers. These commands help bridge GeoServer and QGIS workflows.

Available Exports#

Connections Export#

Generate QGIS connection XML files for importing WMS/WFS connections.

Project Export#

Generate complete QGIS project files with pre-configured layers.

Overview#

Common Use Cases#

  • Development: Quick access to GeoServer layers in QGIS for testing
  • Data Validation: Visual inspection of published layers
  • Analysis: Combine GeoServer layers with local data
  • Documentation: Share project files with team members
  • Client Delivery: Provide ready-to-use QGIS projects

Authentication#

!!! important “Security” Generated files do not include credentials by default. Configure QGIS Auth Manager for secured GeoServer instances.

See the QGIS Authentication Guide for setup instructions.

Examples#

Export Connections#

1
2
3
4
5
# Single workspace
./geoserver-cli qgis export connections -w my_workspace -o connections.xml

# All workspaces
./geoserver-cli qgis export connections --all-workspaces -o all_connections.xml

Export Project#

1
2
3
4
5
# Single workspace
./geoserver-cli qgis export project -w my_workspace -o layers.qgs

# All workspaces with custom title
./geoserver-cli qgis export project --all-workspaces -o all_layers.qgs --title "Production Layers"

See Also#