Skip to content

Commit

Permalink
Merge pull request #388 from ThomasAribart/apply-toarray-to-rowsperst…
Browse files Browse the repository at this point in the history
…rip-metadata

Apply toArray to RowsPerStrip metadata
  • Loading branch information
constantinius committed Aug 27, 2023
2 parents 3f548fb + 2b3c5f0 commit b1f9263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/geotiffwriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ export function writeGeotiff(data, metadata) {
'SamplesPerPixel',
'XPosition',
'YPosition',
'RowsPerStrip',
].forEach((name) => {
if (metadata[name]) {
metadata[name] = toArray(metadata[name]);
Expand Down

0 comments on commit b1f9263

Please sign in to comment.