Skip to content

Commit

Permalink
Merge pull request #197 from tschaub/multi-geokeys
Browse files Browse the repository at this point in the history
Get geo keys from image file directory
  • Loading branch information
constantinius committed Feb 3, 2021
2 parents b9aad79 + c78663c commit f7c511f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geotiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}
Expand Down

0 comments on commit f7c511f

Please sign in to comment.