Skip to content
Prev 28263 / 29559 Next

Image reprojection and resampling

Dear list,

Please I am working with a Sentinel 2 image of 20 m resolution. I have
tried to reproject and aggregate the resolution to 50 m. But after doing
the reprojection, I get the resolution in decimals and I am not sure what
factor to use for the escalation.

I tried another means to reproject with an existing image of similar
resolution 20 m using this code; Sentinel <- projectRaster(Sentinel, crs =
crs(Trying), res = 20) and
Sentinel <- projectRaster(Sentinel,crs = crs(Trying), keepres= TRUE)
After the process, I get an empty image when I plot.

I will be glad if I could have some insights on how to deal with these
issues of the reprojection and aggregation/resampling.

Best regards,

Enoch