Kontinuation commented on issue #1776: URL: https://github.com/apache/sedona/issues/1776#issuecomment-2649689290
The binary `content` needs to be loaded by `RS_FromGeoTiff` before being processed by `RS_TileExplode`. The intermediate raster object loaded by `RS_FromGeoTiff` will be tiled directly without being serialized/deserialized: ``` df_floods_tile = sedona.sql(f"SELECT RS_TileExplode(RS_FromGeoTiff(content), 100, 100) FROM floods_tif") ``` If this still does not work, you have to consider subdividing the GeoTIFF file using [`gdal_retile`](https://gdal.org/en/stable/programs/gdal_retile.html) before loading it in Sedona. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
