[gdal-dev] RFC 75: Multidimensional arrays
Even Rouault
even.rouault at spatialys.com
Thu Jul 18 08:35:15 PDT 2019
On jeudi 18 juillet 2019 09:20:13 CEST Sean Gillies wrote:
> Hi Even,
>
> GDAL will already read and write multidimensional arrays
> using GDALDatasetRasterIO, yes?
No, that's a separate API. There's a bridge between both with the
GDALRasterBand::AsMDArray() and GDALMDArray::AsClassicDataset() methods.
The gdalmdimtranslate utility can also bridge between the 2 worlds. That is if
you export a 4D array as a GeoTIFF, it will use
GDALMDArray::AsClassicDataset() and will expose the non-XY dimensions as many
bnds as needed.
> Arrays of a single type per dimension, but
> that's conventional for N-D array implementations like Numpy.
Not sure to understand the above. The data type is the same for a given array.
Yes, ala NumPy.
> Perhaps the
> RFC and feature would be better named "hierarchical data"?
This is both actually: hierarchial data + multidimensional arrays.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list