We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1051328 commit 1b00735Copy full SHA for 1b00735
packages/cli/src/cog/__tests__/cog.test.ts
@@ -59,6 +59,9 @@ o.spec('cog', () => {
59
'TILING_SCHEME=GoogleMapsCompatible',
60
'-co',
61
'NUM_THREADS=ALL_CPUS',
62
+ '--config',
63
+ 'GDAL_NUM_THREADS',
64
+ 'ALL_CPUS',
65
66
'BIGTIFF=YES',
67
packages/cli/src/gdal/gdal.cog.ts
@@ -92,6 +92,10 @@ export class GdalCogBuilder {
92
// Max CPU POWER
93
94
95
+ // in GDAL 3.7.x NUM_THREADS will also set GDAL_NUM_THREADS
96
97
98
99
// Force big tiff the extra few bytes savings of using little tiffs does not affect us
100
101
0 commit comments