Hi,
I've been experimenting with loading arrays into SciQL, but hit a wall at approx. 200MB TIFF size. Not sure if I'm doing something wrong or if there is a better way to import arrays?
sql>CALL rs.attach('grey2.tif');
sql>CALL rs.import(2);
Connection terminated
Here's some metadata of the file:
$ gdalinfo grey2.tif
Driver: GTiff/GeoTIFF
Files: grey2.tif
Size is 21600, 10800
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
GeoTransform =
291.065568377342, 3.938632460246877e-06, 8.68784597348722e-07
-22.27513940185346, 8.250100004406028e-07, -3.669324727326387e-06
Metadata:
AREA_OR_POINT=Point
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left ( 291.066, -22.275) (291d 3'56.05"E, 22d16'30.50"S)
Lower Left ( 291.075, -22.315) (291d 4'29.82"E, 22d18'53.17"S)
Upper Right ( 291.151, -22.257) (291d 9' 2.31"E, 22d15'26.35"S)
Lower Right ( 291.160, -22.297) (291d 9'36.09"E, 22d17'49.01"S)
Center ( 291.113, -22.286) (291d 6'46.07"E, 22d17' 9.76"S)
Band 1 Block=21600x1 Type=Byte, ColorInterp=Gray
I managed to import a similarly sized file previously, but copying it to another file and importing again fails with "Connection terminated" as well.
$ gdalinfo grey.tif
Driver: GTiff/GeoTIFF
Files: grey.tif
Size is 21600, 10800
Coordinate System is `'
Origin = (-180.016666666666652,90.016666666666666)
Pixel Size = (0.016666666666665,-0.016666666666665)
Metadata:
TIFFTAG_DATETIME=2008:06:22 09:01:55
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
TIFFTAG_SOFTWARE=Adobe Photoshop CS3 Macintosh
TIFFTAG_XRESOLUTION=72
TIFFTAG_YRESOLUTION=72
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-180.0166667, 90.0166667)
Lower Left (-180.0166667, -89.9833333)
Upper Right ( 179.9833333, 90.0166667)
Lower Right ( 179.9833333, -89.9833333)
Center ( -0.0166667, 0.0166667)
Band 1 Block=21600x1 Type=Byte, ColorInterp=Gray
Thanks,
Dimitar