Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 71183

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

4 votes
1 answer
3k views

Changing pixel values of raster data from QGIS python plugin

I would now like to take these results and use them to change the pixel values on the processed raster layers. … I have found numerous questions on the site that tell me how to read the raster data from the data provider, but I have not found one that explains to me how I can change the pixel values for the raster
Semicolons and Duct Tape's user avatar
6 votes
1 answer
3k views

Retrieve pixel value from raster layer in pyQGIS

I am trying to access the pixel data in all bands from a raster layer in QGIS from the Python Console. … assuming that they are coordinates in the mapped space. the values that get returned from print ident.results() are {1: None, 2: None, 3: None, 4: None} I would like to know why I cannot get the raster
Semicolons and Duct Tape's user avatar