I have a .tif file (about 380 mb) that I am trying to load in R and plot.
file<-raster('tiffname.tif')
It is a formal class Raster Layer with the following information
class : RasterLayer
dimensions : 40000, 40000, 1.6e+09 (nrow, ncol, ncell)
resolution : 0.00025, 0.00025 (x, y)
extent : 80, 90, 30, 40 (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84+towgs84=0,0,0
data source : \Data\trial\tiffname.tif
names : X40N_080E_mtc02
Why are there no values for this tif file? Is that why I am unable to plot it?
getValues(file)
produce?