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

"GDAL rasterize overwrite with attribute" does not refresh/reload output #45729

Closed
2 tasks done
ar-siddiqui opened this issue Oct 29, 2021 · 1 comment · Fixed by #47055
Closed
2 tasks done

"GDAL rasterize overwrite with attribute" does not refresh/reload output #45729

ar-siddiqui opened this issue Oct 29, 2021 · 1 comment · Fixed by #47055
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@ar-siddiqui
Copy link

ar-siddiqui commented Oct 29, 2021

What is the bug or the crash?

The algorithm GDAL overwrite with attribute do not refresh or load the resulting raster after overwriting the input raster.

Thus if you already have this raster in your canvas and you run the tool you are working with incorrect raster data. The layer in the canvas will be the old snapshot of the raster.

Steps to reproduce the issue

  • Bring a raster in canvas
  • Overwrite the raster with GDAL Rasterize (Overwrite with Attribute) >> The raster will not update
  • Reload the raster from the folder and the raster will have updated values

Versions

QGIS version
3.22.0-Białowieża
QGIS code revision
d902269
Qt version
5.15.2
Python version
3.9.5
GDAL/OGR version
3.3.2
PROJ version
8.1.1
EPSG Registry database version
v10.028 (2021-07-07)
GEOS version
3.10.0-CAPI-1.16.0
SQLite version
3.35.2
PDAL version
2.3.0
PostgreSQL client version
13.0
SpatiaLite version
5.0.1
QWT version
6.1.3
QScintilla2 version
2.11.5
OS version
Windows 10 Version 1909

Active Python plugins
area_weighted_average
0.2
batchvectorlayersaver
0.9
curve_number_generator
1.3
DataPlotly
3.7.1
mapswipetool_plugin
1.2
MemoryLayerSaver
4.0.4
MongoConnector
1.3.1
MultipleLayerSelection
2.0
plugin_reloader
0.8.2
profiletool
4.1.8
searchlayers
3.0.2
send2google_earth
0.3.1
slyr_community
3.1.0
spline
0.2
SRTM-Downloader
3.1.15
StreetView
3.2
valuetool
3.0.15
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99
sagaprovider
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@ar-siddiqui ar-siddiqui added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Oct 29, 2021
@nicogodet
Copy link
Member

I can confirm and sometimes refreshing the canvas (F5) is not enough

@gioman gioman changed the title GDAL Overwrite With Attribute Does Not Refresh/Load Result Raster "GDAL rasterize overwrite with attribute" does mot refresh/reload output Oct 29, 2021
@gioman gioman added the Processing Relating to QGIS Processing framework or individual Processing algorithms label Oct 29, 2021
@ar-siddiqui ar-siddiqui changed the title "GDAL rasterize overwrite with attribute" does mot refresh/reload output "GDAL rasterize overwrite with attribute" does not refresh/reload output Oct 29, 2021
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! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants