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

Fix output filename when a raster is saved in a format without extension #46992

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

pblottiere
Copy link
Member

Description

Some formats don't have an extension (ENVI, others?) but the current implementation leads to this kind of result when saving with the QgsRasterLayerSaveAsDialog dialog:

$ ls
test. test.hdr test..aux.xml

@pblottiere pblottiere added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 25, 2022
@github-actions github-actions bot added this to the 3.24.0 milestone Jan 25, 2022
@pblottiere pblottiere merged commit dbbf8da into qgis:master Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants