FEATURE: Source select configure from uri (Request in QGIS) #8892
Labels
3.36
QGIS 3.36 new features
Browser
Features of the browser panel
Managing Layer/Data
Creating and loading layers as well as formats handling or specifics
Properties
Projects
Milestone
Request for documentation
From pull request qgis/QGIS#54844
Author: @elpaso
QGIS version: 3.34
FEATURE: Source select configure from uri
PR Description:
This PR adds an API for source select widgets and data source manager that allows to open and configure the data source manager from a data source URI.
For instance:
The datasource manager dialog has also a C++ API:
The dialog will open on the correct page with pre-filled values to open the layer.
This feature is for now implemented for OGR (including the dedicated GPKG source select), GDAL and Spatialite and it is accessible from the context menu in the browser.
The purpose is to allow the user to set opening options when adding a layer from the browser but it could be eventually expanded to include a more sophisticated replace data source functionality where opening options can be specified.
Here is the exposed UI
A secondary patch (for GDAL >= 3.8 only, and part of the same work package) in this PR is related to a very peculiar use case when opening VR BAG (variable resolution) files, in case no opening options are explicitly specified by the user the MODE=INTERPOLATED option is used as a default.
Funded by: NOAA
Commits tagged with [need-docs] or [FEATURE]
The text was updated successfully, but these errors were encountered: