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

2022-08-17 Thread Edzer Pebesma
Even, thanks for the thoughtful answer, On 16/08/2022 21:57, Even Rouault wrote: 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

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

[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