CosmiQ / solaris

CosmiQ Works Geospatial Machine Learning Analysis Toolkit
https://solaris.readthedocs.io
Apache License 2.0
411 stars 112 forks source link

if geotiffs are COGs, optimize raster and vector tilers to take advantage of internal chunking #441

Open rbavery opened 2 years ago

rbavery commented 2 years ago

The tile generators in the raster and vector tiles are currently doing IO serially, COG support would be good here for speed.

This would involve uncommenting the use of rio_cogeo and demonstrating the speed improvement from using rio_cogeo in the PR using the existing tile test data: https://github.com/CosmiQ/solaris/tree/0.5.0/solaris/tile/raster_tile.py https://github.com/CosmiQ/solaris/tree/0.5.0/tests/data