From b2e6d58174d1cb481914d2608206ef4fa57f4533 Mon Sep 17 00:00:00 2001 From: timhj <3896211+timhj@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:39:36 +0800 Subject: [PATCH] Adding support for Baseline ASCII TIFFs Mapping the Baseline ASCII TIFF Tags to an ASCII data type to allow for writing of them. https://github.com/geotiffjs/geotiff.js/issues/430 --- src/globals.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/globals.js b/src/globals.js index 4a8d27b9..5707a669 100644 --- a/src/globals.js +++ b/src/globals.js @@ -134,6 +134,9 @@ export const fieldTagTypes = { 258: 'SHORT', 259: 'SHORT', 262: 'SHORT', + 270: 'ASCII', + 271: 'ASCII', + 272: 'ASCII', 273: 'LONG', 274: 'SHORT', 277: 'SHORT', @@ -148,6 +151,7 @@ export const fieldTagTypes = { 297: 'SHORT', 305: 'ASCII', 306: 'ASCII', + 315: 'ASCII', 338: 'SHORT', 339: 'SHORT', 513: 'LONG', @@ -158,6 +162,7 @@ export const fieldTagTypes = { 2049: 'ASCII', 3072: 'SHORT', 3073: 'ASCII', + 33432: 'ASCII', 33550: 'DOUBLE', 33922: 'DOUBLE', 34264: 'DOUBLE',