[gdal-dev] hdf5 dataset. Header data too long. Truncated

2015-09-01 Thread Rashad M
Hello all, I have an the following warning from gdal when reading .h5 dataset Warning 2: Header data too long. Truncated. Looking at frmts/hdf5/hdf5dataset.cpp there is a define for MAX_METADATA_LEN #define MAX_METADATA_LEN 32768 and there is a check if( CPLStrlcat(szValue, sz

Re: [gdal-dev] hdf5 dataset. Header data too long. Truncated

2015-09-01 Thread Even Rouault
Le mardi 01 septembre 2015 16:50:32, Rashad M a écrit : > Hello all, > > I have an the following warning from gdal when reading .h5 dataset > > Warning 2: Header data too long. Truncated. > > Looking at frmts/hdf5/hdf5dataset.cpp there is a define for > MAX_METADATA_LEN > > #define MAX_METADATA

Re: [gdal-dev] hdf5 dataset. Header data too long. Truncated

2015-09-01 Thread Rashad M
On Tue, Sep 1, 2015 at 5:08 PM, Even Rouault wrote: > Le mardi 01 septembre 2015 16:50:32, Rashad M a écrit : > > Hello all, > > > > I have an the following warning from gdal when reading .h5 dataset > > > > Warning 2: Header data too long. Truncated. > > > > Looking at frmts/hdf5/hdf5dataset.cpp

Re: [gdal-dev] hdf5 dataset. Header data too long. Truncated

2015-09-03 Thread Rashad M
increasing the limit of MAX_METADATA_LEN is acceptable? On Tue, Sep 1, 2015 at 8:07 PM, Rashad M wrote: > > > On Tue, Sep 1, 2015 at 5:08 PM, Even Rouault > wrote: > >> Le mardi 01 septembre 2015 16:50:32, Rashad M a écrit : >> > Hello all, >> > >> > I have an the following warning from gdal wh