From c78663c76eb1af491e7dd7b6915d11edefee7dcd Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 2 Feb 2021 19:39:48 -0700 Subject: [PATCH] Get geo keys from image file directory --- src/geotiff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geotiff.js b/src/geotiff.js index 7a2d3f00..4aabf41d 100644 --- a/src/geotiff.js +++ b/src/geotiff.js @@ -611,7 +611,7 @@ class MultiGeoTIFF extends GeoTIFFBase { if (index === visited) { const ifd = await imageFile.requestIFD(relativeIndex); return new GeoTIFFImage( - ifd.fileDirectory, imageFile.geoKeyDirectory, + ifd.fileDirectory, ifd.geoKeyDirectory, imageFile.dataView, imageFile.littleEndian, imageFile.cache, imageFile.source, ); }