@dra2020/baseclient 1.0.43 → 1.0.44

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.
@@ -8481,7 +8481,7 @@ function intpt(f) {
8481
8481
  }
8482
8482
  const DefaultSimplifyOptions = { minArea: 500 };
8483
8483
  function log(s) {
8484
- console.log(s);
8484
+ //console.log(s);
8485
8485
  }
8486
8486
  //
8487
8487
  // topoSimplifyCollection:
@@ -8567,10 +8567,9 @@ function topoSimplifyCollection(col, options) {
8567
8567
  else {
8568
8568
  let { x, y } = intpt(f);
8569
8569
  if (x && y && !pointinpoly_1.polyContainsPoint(pp, x, y)) {
8570
- keepTiny.set(f, f);
8571
- keepArcs(topo, oOld.arcs, 0); // keeps all points to avoid reprocessing these tiny shapes
8572
- nBad++, nTiny++;
8573
- log(`topoSimplifyCollection: ${f.properties.id}: preserving full feature because of intpt problem`);
8570
+ keepArcs(topo, oOld.arcs, keepweight);
8571
+ nBad++;
8572
+ log(`topoSimplifyCollection: ${f.properties.id}: increasing feature fidelity because of intpt problem`);
8574
8573
  }
8575
8574
  }
8576
8575
  }