Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow using generic vector layer (table) source type in the QgsProcessingParameterMapLayer (fix #56344) #60213

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

alexbruy
Copy link
Contributor

Description

Expose Qgis::ProcessingSourceType::Vector as a valid option for QgsProcessingParameterMapLayer data type. This is not strictly necessary as the exactly the same result can be achieved by using vector layer or feature sink parameters, but probably there are use cases when algorithm should support vectors (including geometryless tables) and some other layer types as inputs simultaneously.

Fixes #56344.

@alexbruy alexbruy requested a review from nyalldawson January 22, 2025 10:37
@alexbruy alexbruy added the Processing Relating to QGIS Processing framework or individual Processing algorithms label Jan 22, 2025
@github-actions github-actions bot added this to the 3.42.0 milestone Jan 22, 2025
Copy link

github-actions bot commented Jan 22, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 1af94ba)

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 1af94ba)

@nyalldawson nyalldawson removed the backport queued_ltr_backports Queued Backports label Jan 28, 2025
@nyalldawson nyalldawson merged commit b1b378c into qgis:master Jan 28, 2025
47 checks passed
@alexbruy alexbruy deleted the processing-map-layer-vector branch January 28, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-3_40 Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PyQGIS / Processing: QgsProcessingParameterMapLayer doesn’t respect QgsProcessing.TypeVector
2 participants