From a1e6686fd61527bb3a57b83944a6f3770d8cac2e Mon Sep 17 00:00:00 2001 From: Grant Karapetyan Date: Wed, 14 Oct 2026 22:18:34 +0400 Subject: [PATCH] TIFF: use cGeoKeyDirectoryTag in the registered tags #7136 added cGeoKeyDirectoryTag, and #7137 registered the same tag with the literal 34735; the two merged at the same time. The table of registered tags now uses the constant. No behavior change. Co-Authored-By: Claude Opus 5.5 --- source/MRIOExtras/MRTiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/MRIOExtras/MRTiff.cpp b/source/MRIOExtras/MRTiff.cpp index 292feef6de0c..c3a66c66a9ba 100644 --- a/source/MRIOExtras/MRTiff.cpp +++ b/source/MRIOExtras/MRTiff.cpp @@ -75,7 +75,7 @@ const TIFFFieldInfo cGeoTiffFields[] = { { cModelPixelScaleTag, -1, -1, TIFF_DOUBLE, FIELD_CUSTOM, 1, 1, (char*)"ModelPixelScaleTag" }, { cModelTiePointTag, -1, -1, TIFF_DOUBLE, FIELD_CUSTOM, 1, 1, (char*)"ModelTiePointTag" }, { cModelTransformationTag, -1, -1, TIFF_DOUBLE, FIELD_CUSTOM, 1, 1, (char*)"ModelTransformationTag" }, - { 34735, -1, -1, TIFF_SHORT, FIELD_CUSTOM, 1, 1, (char*)"GeoKeyDirectoryTag" }, + { cGeoKeyDirectoryTag, -1, -1, TIFF_SHORT, FIELD_CUSTOM, 1, 1, (char*)"GeoKeyDirectoryTag" }, { 34736, -1, -1, TIFF_DOUBLE, FIELD_CUSTOM, 1, 1, (char*)"GeoDoubleParamsTag" }, { 34737, -1, -1, TIFF_ASCII, FIELD_CUSTOM, 1, 0, (char*)"GeoAsciiParamsTag" }, { 42112, -1, -1, TIFF_ASCII, FIELD_CUSTOM, 1, 0, (char*)"GDALMetadata" },