@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/lib/poly/topo.ts
CHANGED
|
@@ -323,8 +323,9 @@ export function topoSimplifyCollection(col: any, options?: SimplifyOptions): any
|
|
|
323
323
|
let {x,y} = intpt(f);
|
|
324
324
|
if (x && y && !polyContainsPoint(pp, x, y))
|
|
325
325
|
{
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
keepTiny.set(f, f);
|
|
327
|
+
keepArcs(topo, oOld.arcs, 0); // keeps all points to avoid reprocessing these tiny shapes
|
|
328
|
+
nBad++, nTiny++;
|
|
328
329
|
log(`topoSimplifyCollection: ${f.properties.id}: increasing feature fidelity because of intpt problem`);
|
|
329
330
|
}
|
|
330
331
|
}
|