Skip to content

Commit 0039fa2

Browse files
committed
Remove the protocol by pathname for the better-sq3 to create db from local file.
1 parent 7035cfd commit 0039fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-vector/src/transform/mbtiles.to.ttiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function toTarTiles(input: URL, output: URL, logger: LogType, limit
3939
packer.pipe(createWriteStream(urlToString(output)));
4040

4141
let startTileTime = Date.now();
42-
for await (const { tile, index, total } of readMbTiles(urlToString(input), limit)) {
42+
for await (const { tile, index, total } of readMbTiles(input.pathname, limit)) {
4343
if (index === 0) logger.info({ path: output.href, count: total }, 'Covt.Tar:Start');
4444

4545
const z = tile.zoom_level;

0 commit comments

Comments
 (0)