Skip to main content

All Questions

Tagged with
-2 votes
2 answers
335 views

Extracting minimum pixel value from multiple rasters

I am trying to extract minimum values from about 300 raster files (GeoTIFF) - for example an output table containing raster names against their minimum values. I would like to automate the process. I ...
coral's user avatar
  • 81
3 votes
1 answer
469 views

Invert raster's min with max values (as well as the in between values) and vice versa using R

I have a raster with pixel values, 1 to 255 (no decimals). I want to invert their values in a way that pixels with value 1 will get value of 255, pixel with value 2 will get 254, pixel with value 3 ...
Nikos's user avatar
  • 1,093
1 vote
1 answer
4k views

How to get the number of pixel with a given value from a RasterLayer in R?

I'm working with Corine Land cover data. I want to assess the number of pixels with any forest value (311, 312, 313, 321, 322, 323, 324) of two reference years. That's wat I did: clc00 <- raster(&...
Fabio Castelli's user avatar
7 votes
2 answers
407 views

Classifying raster layer by number of equal values in given area using QGIS

I am using QGIS 3.16.12 - Hannover. I have a binary raster layer which consists of 2 values, either 0 or 1 (in my screenshots, 0 = black, 1 = white). The 1 values are scattered throughout the layer in ...
Snowy's user avatar
  • 113
0 votes
0 answers
423 views

Changing raster pixel values outside of polygon box using rioxarray

How do I change all raster pixel values outside of a polygon (keep the original values inside polygon) into a certain value? I have passed through rioxarray clip() like below from this link: ...
Happier's user avatar
  • 67
0 votes
0 answers
83 views

Projecting raster changes the range of values

I am trying to project a 1 second DEM from GDA94 to UTM56 in ArcMap using the Project Raster tool. I tried different methods: bilinear, cubic, nearest neighbor. Nevertheless, the values of the output ...
novice here's user avatar
0 votes
0 answers
119 views

MOD04_L2 data processing in r

i am new to using r, so i excuse in advance for asking basic question. I have been trying to convert MOD04_L2 data into GeoTIFF and extract value to a district shapefile in R. the coding seems to work ...
hina yaqub's user avatar
0 votes
0 answers
57 views

Adjusting pixel values to new pixel sum

I'm working with land use rasters in QGIS. For my application I have created rasters with pixels that have a fraction of 0-1 (for 0-100%) for a land use class. So for example in my settlement raster ...
flowerts's user avatar
1 vote
1 answer
174 views

Reprojecting a raster results in larger raster values than the original raster values [duplicate]

When I reproject a raster in ArcMap using the project raster function (details in the image above) to change its X,Y coordinate system from North_America_1983_Transvers_Mercator to NAD_1983_Idaho_TM, ...
Atiqullah Atif's user avatar
1 vote
1 answer
309 views

QGIS Legend only with Raster Minimum and Maximum values

I want to have a mimim and maximum raster values in the legend but it appears to me a long list of all values how can I resume the legend minimum and maximum values:
Gab's user avatar
  • 413
0 votes
2 answers
857 views

Deleting values less than 0.31 in NDVI raster layer in QGIS

In my research I have a Ndvi raster layer, and I want to delete the values corresponding to bare soil, which are those minor of 0.31. Therefore, I will obtain a new raster layer with those values ...
Ange's user avatar
  • 63
1 vote
1 answer
819 views

Exctracting values and their coordinates from a raster layer in QGIS?

I would like to extract the pixel value and coordinates of each of them from a ndvi raster layer. I don't have a point layer from where I can extract those values, as I read in other posts. ...
Ange's user avatar
  • 63
1 vote
1 answer
2k views

QGIS-Export Raster Values to a .csv file

I use a Raster, based on .png and .pgw file. (plans from a town) The plans include information about where buildings are allowed to be built and maximum building height, ground elevation etc. Now i ...
Daniel_B's user avatar
3 votes
2 answers
921 views

PostGIS: Change raster values depending on values from other raster

I have two rasters and I want to change all the values from "raster1" to 4, where they are larger than the values from "raster2" and to 0, where they are smaller. So raster2 has only one value, which ...
blueJay's user avatar
  • 31
4 votes
1 answer
419 views

Return a set of unique pixel values in a raster with PyQGIS? [closed]

I am trying to test whether a value exists in a raster against all the values present. I am using pyqgis (Python 2.7) in in QGIS 2.14. I have found a number of ways to get point location values and ...
Mike's user avatar
  • 131

15 30 50 per page