@loaders.gl/tile-converter 4.3.0-alpha.3 → 4.3.0-alpha.4

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.
@@ -91,6 +91,7 @@ function printHelp() {
91
91
  console.log('--input-type [tileset input type: I3S or 3DTILES]');
92
92
  console.log('--7zExe [location of 7z.exe archiver to create slpk on Windows, default: "C:\\Program Files\\7-Zip\\7z.exe"]');
93
93
  console.log('--egm [location of Earth Gravity Model *.pgm file to convert heights from ellipsoidal to gravity-related format. A model file can be loaded from GeographicLib https://geographiclib.sourceforge.io/html/geoid.html], default: "./deps/egm2008-5.zip"');
94
+ console.log('--no-egm [Disable Geod transformation via the EGM file]');
94
95
  console.log('--token [Token for Cesium ION tilesets authentication]');
95
96
  console.log('--no-draco [Disable draco compression for geometry]');
96
97
  console.log('--generate-textures [Enable KTX2 textures generation if only one of (JPG, PNG) texture is provided or generate JPG texture if only KTX2 is provided]');
@@ -204,7 +205,8 @@ function parseOptions(args) {
204
205
  validate: false,
205
206
  slpk: false,
206
207
  addHash: false,
207
- quiet: false
208
+ quiet: false,
209
+ noEgm: false
208
210
  };
209
211
  // eslint-disable-next-line complexity
210
212
  args.forEach((arg, index) => {
@@ -243,6 +245,9 @@ function parseOptions(args) {
243
245
  case '--egm':
244
246
  opts.egm = getStringValue(index, args);
245
247
  break;
248
+ case '--no-egm':
249
+ opts.noEgm = getBooleanValue(index, args);
250
+ break;
246
251
  case '--token':
247
252
  opts.token = getStringValue(index, args);
248
253
  break;