[gdal-dev] error parsing metadata from HDF5 dataset

Even Rouault even.rouault at spatialys.com
Thu Sep 3 08:41:03 PDT 2015


> Sure. The patch is for 1.11 branch. Should I generate the same for trunk
> also?

Yes please

> 
> As we are on the subject of metadata in hdf5 dataset,  there is  Header too
> long. .. Truncated warning appearing when type is double which now has
> format specifier as %.16g
> 
> using simply %g or %lg fixed the issue on my side. If okay, I will include
> that too in the patch.

Please do not include that in your patch. That's a different issue. I'm not 
sure %g or %lg is fine for all intended uses. Some use cases might potentially 
need very precise values.

> 
> Thanks.
> 
> > > OS: Fedora 20 x86_64
> > > gdal branch: 1.11
> > > 
> > > svn info
> > > 
> > > Path: .
> > > Working Copy Root Path: /home/mkanavat/sources/gdal_branch_1.11
> > > URL: http://svn.osgeo.org/gdal/branches/1.11/gdal
> > > Relative URL: ^/branches/1.11/gdal
> > > Repository Root: http://svn.osgeo.org/gdal
> > > Repository UUID: f0d54148-0727-0410-94bb-9a71ac55c965
> > > Revision: 30007
> > > Node Kind: directory
> > > Schedule: normal
> > > Last Changed Author: rouault
> > > Last Changed Rev: 30005
> > > Last Changed Date: 2015-09-01 10:17:50 +0200 (Tue, 01 Sep 2015)
> > 
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list