umartin commented on issue #811: URL: https://github.com/apache/sedona/issues/811#issuecomment-1492029705
I did some more research. GDAL is able to create COGs and rasterio is a python wrapper around GDAL. You should be able to convert GeoTiffs to COGs in rasterio. If not there is a rasterio plugin to do that. https://github.com/cogeotiff/rio-cogeo You can create a python udf that does the conversion. It will be painfully slow and consume lots of memory. The other option is to implement the udf in a JVM language. Geosolutions has developed a GDAL wrapper in Java, which you can access at https://github.com/geosolutions-it/imageio-ext. -- 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]
