I see there are a few test cases to generate a tiled and even a BigTiff GeoTIFF in the GeoTools repository. E.g.
But, is there any case where we can generate a Cloud Optimize GeoTIFF?
I see there are a few test cases to generate a tiled and even a BigTiff GeoTIFF in the GeoTools repository. E.g.
But, is there any case where we can generate a Cloud Optimize GeoTIFF?
A COG is just a GeoTiff with LZW compressed tiles, with internal overviews, so the standard writer ought to do with the Parameters set as described in the javadocs.
I can't work out how you would include the overviews explicitly or if they are automatically added for you.