Skip to content

PyQGIS Cookbook: Add MLOps best practices for reproducible and cloud-ready layer loading #10871

@Nik-ui

Description

@Nik-ui

Description

While reviewing the 'Loading Layers' section of the PyQGIS Cookbook, I noticed it primarily focuses on static, absolute local paths.

To support the growing community of Data Scientists and MLOps Engineers using QGIS, I would like to contribute a 'Best Practice' note. I propose adding a short guide on using environment variables and pathlib for layer loading. This ensures scripts are portable between local environments and cloud-native MLOps pipelines (e.g., Azure/Databricks).

This addition will help bridge the gap between traditional GIS and production data science.

Page URL: https://docs.qgis.org/latest/en/docs/pyqgis_developer_cookbook/loadlayer.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions