Test 1 (style_circle1.json) ✔️
node ../index.js -m munich.mbtiles -s style_circle1.json -o munich_opt_style_circle1.mbtiles
Process results
• Removed 1 features in level 2
• Removed 1 features in level 3
• Removed 1 features in level 4
• Removed layer munich from zoom levels 2, 3, 4
Test 2 (style_circle2.json) ✔️
node ../index.js -m munich.mbtiles -s style_circle2.json -o munich_opt_style_circle2.mbtiles
• Removed 1 features in level 0
• Removed 1 features in level 1
• Removed layer munich from zoom levels 0, 1
Test 3 (style.json) ❌
node ../index.js -m munich.mbtiles -s style.json -o munich_opt_style.mbtiles
Process results
• Removed 1 features in level 0
• Removed 1 features in level 1
• Removed layer munich from zoom levels 0, 1
Shouldn't remove anything because the layer gets used in all zoom levels.
It looks like the last usage of the layer overwrites previous usages