@loaders.gl/tile-converter 4.3.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/converter-cli.js +4 -0
- package/dist/converter.min.cjs +2 -2
- package/dist/deps-installer/deps-installer.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/pgm-loader.js +1 -1
- package/package.json +17 -17
- package/src/converter-cli.ts +4 -0
package/dist/pgm-loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Geoid, parsePGM } from '@math.gl/geoid';
|
|
2
2
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
3
3
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
4
|
-
const VERSION = typeof "4.3.0
|
|
4
|
+
const VERSION = typeof "4.3.0" !== 'undefined' ? "4.3.0" : 'latest';
|
|
5
5
|
export { Geoid };
|
|
6
6
|
/**
|
|
7
7
|
* Loader for PGM - Netpbm grayscale image format
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/tile-converter",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Converter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,20 +51,20 @@
|
|
|
51
51
|
"copy-certificates": "cp -R src/i3s-server/certs dist/i3s-server"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@loaders.gl/3d-tiles": "4.3.
|
|
55
|
-
"@loaders.gl/compression": "4.3.
|
|
56
|
-
"@loaders.gl/crypto": "4.3.
|
|
57
|
-
"@loaders.gl/draco": "4.3.
|
|
58
|
-
"@loaders.gl/gltf": "4.3.
|
|
59
|
-
"@loaders.gl/i3s": "4.3.
|
|
60
|
-
"@loaders.gl/images": "4.3.
|
|
61
|
-
"@loaders.gl/loader-utils": "4.3.
|
|
62
|
-
"@loaders.gl/math": "4.3.
|
|
63
|
-
"@loaders.gl/polyfills": "4.3.
|
|
64
|
-
"@loaders.gl/textures": "4.3.
|
|
65
|
-
"@loaders.gl/tiles": "4.3.
|
|
66
|
-
"@loaders.gl/worker-utils": "4.3.
|
|
67
|
-
"@loaders.gl/zip": "4.3.
|
|
54
|
+
"@loaders.gl/3d-tiles": "4.3.1",
|
|
55
|
+
"@loaders.gl/compression": "4.3.1",
|
|
56
|
+
"@loaders.gl/crypto": "4.3.1",
|
|
57
|
+
"@loaders.gl/draco": "4.3.1",
|
|
58
|
+
"@loaders.gl/gltf": "4.3.1",
|
|
59
|
+
"@loaders.gl/i3s": "4.3.1",
|
|
60
|
+
"@loaders.gl/images": "4.3.1",
|
|
61
|
+
"@loaders.gl/loader-utils": "4.3.1",
|
|
62
|
+
"@loaders.gl/math": "4.3.1",
|
|
63
|
+
"@loaders.gl/polyfills": "4.3.1",
|
|
64
|
+
"@loaders.gl/textures": "4.3.1",
|
|
65
|
+
"@loaders.gl/tiles": "4.3.1",
|
|
66
|
+
"@loaders.gl/worker-utils": "4.3.1",
|
|
67
|
+
"@loaders.gl/zip": "4.3.1",
|
|
68
68
|
"@math.gl/core": "^4.1.0",
|
|
69
69
|
"@math.gl/culling": "^4.1.0",
|
|
70
70
|
"@math.gl/geoid": "^4.1.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@types/inquirer": "^9.0.7"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@loaders.gl/core": "^4.
|
|
94
|
+
"@loaders.gl/core": "^4.3.0"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "70a883ab6bc84647c49963215dd6ff62d4d61de3"
|
|
97
97
|
}
|
package/src/converter-cli.ts
CHANGED
|
@@ -395,6 +395,10 @@ function parseOptions(args: string[]): TileConversionOptions {
|
|
|
395
395
|
case '--help':
|
|
396
396
|
printHelp();
|
|
397
397
|
break;
|
|
398
|
+
// we need this option for backward compatibility
|
|
399
|
+
// do nothing but don't throw the error
|
|
400
|
+
case '--slpk':
|
|
401
|
+
break;
|
|
398
402
|
default:
|
|
399
403
|
console.warn(`Unknown option ${arg}`);
|
|
400
404
|
process.exit(0); // eslint-disable-line
|