From da296fb72c1ef1695073a2f5e9fa32eaddafa87f Mon Sep 17 00:00:00 2001 From: Wentao Kuang Date: Fri, 13 Dec 2024 13:22:26 +1300 Subject: [PATCH] Give a 512*512 backgroud tile. --- packages/cogify/src/cogify/gdal.command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cogify/src/cogify/gdal.command.ts b/packages/cogify/src/cogify/gdal.command.ts index dd03ea8cd..743106dd2 100644 --- a/packages/cogify/src/cogify/gdal.command.ts +++ b/packages/cogify/src/cogify/gdal.command.ts @@ -112,7 +112,7 @@ export function gdalCreate(targetTiff: URL, opt: CogifyCreationOptions): GdalCom output: targetTiff, args: [ ['-of', 'GTiff'], - ['-outsize', 32, 32], + ['-outsize', 512, 512], ['-bands', '4'], ['-burn', `${bg.r} ${bg.g} ${bg.b} ${bg.alpha}`], // this is the color ['-a_srs', tileMatrix.projection.toEpsgString()],