Open xvThomas opened 1 year ago
Hey @xvThomas! I think the doc is a bit inaccurate; COOGLayer can be used with the ZoomedLayoutScheme only at this point;
see https://github.com/locationtech/geotrellis/issues/2609#issue-310211210
But it's a good catch - I totally forgot about the docs.
I desperately try to apply the example given in https://github.com/locationtech/geotrellis/blob/master/doc-examples/src/main/scala/geotrellis/doc/examples/spark/COGSparkExamples.scala, 'Having an RDD ...' with a srtm geotiff as follow:
But when the FileCOGLayerWriter write operation is executed, I got the following error:
which corresponds to an assertion from COGLayer.scala:
Any idea or explanation ?
For information, here is gdalinfo output of the srtm file: