rasterframes icon indicating copy to clipboard operation
rasterframes copied to clipboard

JVMGeoTiffRasterSource reads TiffTags for every tile

Open echeipesh opened this issue 3 years ago • 1 comments

Something in caching mechanism is going wrong and resulting in the file TiffTags being read for every tile. Attached is a CPU sample of a RasterFrames job that highlights the problem. This is also evident in overall runtime of the job as compared to using GDAL RasterSource.

Screen Shot 2022-06-27 at 3 35 33 PM

echeipesh avatar Jul 26 '22 17:07 echeipesh

Can it cache it with the lazy val inside being not evaluated and never updated later?

pomadchin avatar Jul 27 '22 13:07 pomadchin