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
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
pathlibfor 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