Open KiktMa opened 1 year ago
Hello @KiktMa, we dropped the etl module support and it lives in a stale state in a separate repo https://github.com/geotrellis/spark-etl
Many of the old GeoTrellis issues have been already addressed, I’d recommend you trying with one of the most up to date versions.
Could I also ask you to drop here gdalinfo
output of the TIFF? (GIS / other sensitive data can be omitted)
Thank you for your reply, as this tiff is a confidential file, I'm sorry I can't publish its @pomadchin
@KiktMa gdalinfo
with no sensitive data is needed; no tags / extent / etc.
The point of the the gdalinfo output is to understand the TIFF segments structure. The data I need to try to help is Size
and Band
metadata (size & type):
gdalinfo file.tif
Driver: GTiff/GeoTIFF
Files: file.tif
Size is 6000, 6000
Coordinate System is <removed>
Metadata:
<removed>
Image Structure Metadata:
<removed>
Corner Coordinates:
<removed>
Band 1 Block=6000x1 Type=Int16, ColorInterp=<removed>
Files: D:\test_tif\caijian.tif
Size is 63472, 61105
Coordinate System is:
Metadata:
Image Structure Metadata:
Corner Coordinates:
Band 1 Block=63472x1 Type=Byte, ColorInterp=
I also want to ask, if I use geotrellis version 3.5, how do I read the grid tiff in hdfs to build a pyramid model and upload the results to Accumulo @pomadchin
@KiktMa I think this is related to https://github.com/locationtech/geotrellis/issues/1691 and it is a known dup issue.
The solution to that is to try using GDALRasterSource
and / or re-tile TIFF to make it TILED
via the gdal_translate in.tif out.tif -co BIGTIFF=YES -co TILED=YES -co COMPRESS=LZW
command
The example of reading TIFFs via the RasterSource API and building a Pyramid: https://github.com/pomadchin/vlm-performance/blob/feature/gt-3.x/src/main/scala/geotrellis/contrib/performance/IngestRasterSource.scala#L52-L72
@pomadchin Hello, I'm sorry to bother you again. I have a question to ask you. I have already stored the pyramid model in Accumulo, but I cannot understand the structure of the table
\x00\x00\x00\x00\x00\x1E"\xCB layer_slope:11: [] x\x9C\xED\xD1\xB1\x0D\xC2@\x00\x04A\xCB\x11\x01\xE4H$TBK\xDF\x82k\xA0\x18\xDA{L\x11\xE8\x83\x9D\xB9\x06N\xDA\xFD}\xFF\xDC\xAE\xC7\xE5\xDC\xF1\xDC\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFE\xE01\xC6X\xFD\x81u^s\xCE\xD5\x1FXG\xFF6\
This is part of the table. I know that \x00\x00\x00\x00\x00\x1E"\xCB
represents rowid, but I am not very familiar with this encoding. How should I parse the encoding of value, and there is a timestamp in the table. I have asked chatgpt, but it gave a different answer, and now I am very confused
An error occurred while using Etl from Geotrellis to build a pyramid model for raster data in hdfs and store it in the accumulo database
After I have written
input.json
,output.json
, andbackend-profiles.json
, I usespark-submit
to submit the taskgeotrellis. spark. etl. SinglebandIngest
Error Reporting Results:
My tiff file only has 180Mb. How can I solve this problem,I increased the driver memory to 2G, but I still couldn't resolve this error