Re: [gdal-dev] reading/writing geometries using GDAL's MDA API

2022-08-16 Thread Even Rouault
Edzer, The currently support data types for variables (including indexing variables of dimensions) or attributes are either numeric (byte, int, float, etc.), strings or compound data types of previous types. From a quick thinking, I can't think of strong reasons why OGRGeometry couldn't be ad

Re: [gdal-dev] Failing to write to s3 using GTiff driver.

2022-08-16 Thread William Roper
Thanks for helping track it down! On Tue, 16 Aug 2022 at 14:05, Even Rouault wrote: > William, > > COG: Generating overviews of the imagery: start >> S3: GetFileSize( >> https://my-bucket.s3.amazonaws.com/test_batch_output/test.tif.ovr.tmp)=0 >> response_code=404 >> S3: /vsis3/my-bucket/test_ba

Re: [gdal-dev] Failing to write to s3 using GTiff driver.

2022-08-16 Thread Even Rouault
William, COG: Generating overviews of the imagery: start S3: GetFileSize(https://my-bucket.s3.amazonaws.com/test_batch_output/test.tif.ovr.tmp)=0  response_code=404 S3: /vsis3/my-bucket/test_batch_output/test.tif.ovr.tmp is not a object GTiff: File being created as a

Re: [gdal-dev] Failing to write to s3 using GTiff driver.

2022-08-16 Thread William Roper
I've included the rest of the debug below. It starts hitting 404s (I guess because the objects don't exist) almost straight away: > S3: GetFileSize( > https://my-bucket.s3.amazonaws.com/test_batch_output/test.tif.warped.tif.tmp)=0 > response_code=404 > S3: /vsis3/my-bucket/test_batch_output/test.

Re: [gdal-dev] Failing to write to s3 using GTiff driver.

2022-08-16 Thread William Roper
Thanks for the reply Even. I've run with "--debug on" and I think the interesting bit is: GDAL: GDALWarpKernel()::GWKCubicNoMasksOrDstDensityOnlyByte() > Src=0,15684,6x73 Dst=686,22448,98x92 > WARP: Using 1 threads > GDAL: GDALWarpKernel()::GWKCubicNoMasksOrDstDensityOnlyByte() > Src=0,15750,4x72

[gdal-dev] reading/writing geometries using GDAL's MDA API

2022-08-16 Thread Edzer Pebesma
I've been using GDAL's C++ multidimensional array (MDA) API lately to read and write data cubes from R - excellent work! I was looking into support for vector data cubes, multidimensional arrays with a single dimension associated with a set of geometries. What we can do is read and write dimen

Re: [gdal-dev] question for scaling default

2022-08-16 Thread Even Rouault
Mike, Le 14/08/2022 à 08:07, Michael Sumner a écrit : Hello, I have a new driver candidate, it's natively a type Byte and is a percentage (or fraction) floating point value when unscaled.  I have a couple of questions. . https://github.com/OSGeo/gdal/pull/6183 I'd like to have it unscale by

Re: [gdal-dev] Failing to write to s3 using GTiff driver.

2022-08-16 Thread Even Rouault
William, can you add "--debug on" and retry to see if more hints are emitted about what's going on. Even Le 15/08/2022 à 11:45, William Roper a écrit : Hi list, I'm trying to convert a GeoTiff on s3 into a COG, that will also live on s3. I'm working on EC2 instances, or fargate containers,