Discussion:
[gdal-dev] exif dump?
Andrew Bell
2021-05-07 15:40:56 UTC
Permalink
Hi,

I'm looking at gdalexif.cpp. I found a block of code that is guarded by:

#ifdef DUMP_EXIF_ITEMS

https://github.com/OSGeo/gdal/blob/master/gdal/gcore/gdalexif.cpp#L1545

I can find no other instance of this macro in the codebase so I'm assuming
that it's never defined. Can this block of code go away?

Thanks,
--
Andrew Bell
***@gmail.com
Even Rouault
2021-05-07 16:02:50 UTC
Permalink
Andrew,

as indicated in the commented lines just after the #ifdef, it had been
used to generate the HTML file of the JPEG doc (the tables at
https://gdal.org/drivers/raster/jpeg.html), before the .rst era. We can
probably remove that now

Even
Post by Andrew Bell
Hi,
#ifdef DUMP_EXIF_ITEMS
https://github.com/OSGeo/gdal/blob/master/gdal/gcore/gdalexif.cpp#L1545
<https://github.com/OSGeo/gdal/blob/master/gdal/gcore/gdalexif.cpp#L1545>
I can find no other instance of this macro in the codebase so I'm
assuming that it's never defined. Can this block of code go away?
Thanks,
--
Andrew Bell
_______________________________________________
gdal-dev mailing list
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
Loading...