sedona icon indicating copy to clipboard operation
sedona copied to clipboard

When I resample a raster to very width*height raster , Serde.serialize is limited in 2GB

Open MyqueWooMiddo opened this issue 1 year ago • 2 comments

when I resample a source raster(30'' a pixel , int type , 625625 ) to a dest raster (in XYZ tile system z=14, int type, 64K64K), then I will persist the pixel values as a table but not a raster data.

But 64K64K4bytes > 2GB , Serde.serialize is OOM .

Can I skip the limitation? Or is there a better way to satisfy my situation ?

MyqueWooMiddo avatar Feb 20 '24 02:02 MyqueWooMiddo

when I resample a source raster(30'' a pixel , int type , 625_625 ) to a dest raster (in XYZ tile system z=14, int type, 64K_64K), then I will persist the pixel values as a table but not a raster data.

But 64K_64K_4bytes > 2GB , Serde.serialize is OOM .

Can I skip the limitation? Or is there a better way to satisfy my situation ?

625625 means 625 x 625 64K64K means 64K x 64K the star sign disappear

MyqueWooMiddo avatar Feb 20 '24 02:02 MyqueWooMiddo

the problem solved,but another occurs

MyqueWooMiddo avatar Feb 20 '24 06:02 MyqueWooMiddo