Skip to content

Commit bdd81e0

Browse files
authored
Sset GeographicTypeGeoKey in example
Because of the following the `writeArrayBuffer` example does not work. https://github.com/geotiffjs/geotiff.js/blob/4f4d116667b6a6aa67c57a91e4a8a6ed3905c0bd/src/geotiffwriter.js#L367-L373 Add `GeographicTypeGeoKey` for `ModelTiepoint` to be used.
1 parent d8cd5f4 commit bdd81e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ import { writeArrayBuffer } from 'geotiff';
391391

392392
const values = [1, 2, 3, 4, 5, 6, 7, 8, 9];
393393
const metadata = {
394+
GeographicTypeGeoKey: 4326,
394395
height: 3,
395396
ModelPixelScale: [0.031355, 0.031355, 0],
396397
ModelTiepoint: [0, 0, 0, 11.331755000000001, 46.268645, 0],

0 commit comments

Comments
 (0)