@dra2020/baseclient 1.0.46 → 1.0.47
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/baseclient.js +3 -2
- package/dist/baseclient.js.map +1 -1
- package/lib/poly/topo.ts +3 -2
- package/package.json +1 -1
package/dist/baseclient.js
CHANGED
|
@@ -8608,8 +8608,9 @@ function topoSimplifyCollection(col, options) {
|
|
|
8608
8608
|
else {
|
|
8609
8609
|
let { x, y } = intpt(f);
|
|
8610
8610
|
if (x && y && !pointinpoly_1.polyContainsPoint(pp, x, y)) {
|
|
8611
|
-
|
|
8612
|
-
|
|
8611
|
+
keepTiny.set(f, f);
|
|
8612
|
+
keepArcs(topo, oOld.arcs, 0); // keeps all points to avoid reprocessing these tiny shapes
|
|
8613
|
+
nBad++, nTiny++;
|
|
8613
8614
|
log(`topoSimplifyCollection: ${f.properties.id}: increasing feature fidelity because of intpt problem`);
|
|
8614
8615
|
}
|
|
8615
8616
|
}
|