All Questions
4
questions
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 ...
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(&...
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 ...
2
votes
1
answer
300
views
Extracting pixel values in different bands for different points giving NAs and not pixel values
I am working with R statistics. And I am trying to extract pixel values for each point in each Landsat bands, however, I am just getting NAs instead of getting pixel values
Does anyone have any ...