Store the basezoom/droprate/multiplier decisions in tileset metadata

This commit is contained in:
Erica Fischer
2023-12-15 16:16:37 -08:00
parent c8047de9ab
commit d95990d478
32 changed files with 52 additions and 4 deletions
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/--smallest-maximum-zoom-guess_2_-Bf20_-rf20_-pb.json.check.mbtiles",
"strategies": "[{\"dropped_by_rate\":237},{\"dropped_by_rate\":229},{}]",
"tippecanoe_decisions": "{\"basezoom\":2,\"droprate\":6.600000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -9,6 +9,7 @@
"maxzoom": "3",
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/--smallest-maximum-zoom-guess_3_-Bg.json.check.mbtiles",
"tippecanoe_decisions": "{\"basezoom\":0,\"droprate\":2.500000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/--smallest-maximum-zoom-guess_3_-rp.json.check.mbtiles",
"strategies": "[{\"dropped_by_rate\":230},{\"dropped_by_rate\":231},{\"dropped_by_rate\":160},{}]",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":2.658283,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -9,6 +9,7 @@
"maxzoom": "8",
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-r1_-z8_-J_tests%2ffeature-filter%2fplaces-filter.json.check.mbtiles",
"tippecanoe_decisions": "{\"basezoom\":8,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json.check.mbtiles",
"strategies": "[{\"dropped_by_rate\":227},{\"dropped_by_rate\":227},{\"dropped_by_rate\":152},{},{},{}]",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":2.500000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json.check.mbtiles",
"strategies": "[{\"dropped_by_rate\":211},{\"dropped_by_rate\":214},{\"dropped_by_rate\":179},{\"dropped_by_rate\":138},{\"dropped_by_rate\":70},{}]",
"tippecanoe_decisions": "{\"basezoom\":5,\"droprate\":1.500000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-z0_-M10000_--drop-densest-as-needed_--extend-zooms-if-still-dropping-maximum_2.json.check.mbtiles",
"strategies": "[{\"dropped_as_needed\":219,\"tile_size_desired\":74691},{\"dropped_as_needed\":207,\"tile_size_desired\":44398},{\"dropped_as_needed\":181,\"tile_size_desired\":35126}]",
"tippecanoe_decisions": "{\"basezoom\":0,\"droprate\":2.500000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -9,6 +9,7 @@
"maxzoom": "0",
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME%3aCity_-YSOV0NAME%3aCountry.json.check.mbtiles",
"tippecanoe_decisions": "{\"basezoom\":0,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-z3_-K20_-r1_-yNAME_-k2.json.check.mbtiles",
"strategies": "[{\"coalesced_as_needed\":207},{\"coalesced_as_needed\":174},{\"coalesced_as_needed\":108},{}]",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -9,6 +9,7 @@
"maxzoom": "3",
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-z3_-r1_--limit-tile-feature-count_3.json.check.mbtiles",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -9,6 +9,7 @@
"maxzoom": "3",
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-z3_-r1_--limit-tile-feature-count_3_--limit-tile-feature-count-at-maximum-zoom_10.json.check.mbtiles",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-zg_-K20_-r1_-yNAME.json.check.mbtiles",
"strategies": "[{\"coalesced_as_needed\":207},{\"coalesced_as_needed\":174},{\"coalesced_as_needed\":108},{\"coalesced_as_needed\":51}]",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [
@@ -10,6 +10,7 @@
"minzoom": "0",
"name": "tests/ne_110m_populated_places/out/-zg_-K20_-r1_-yNAME_-kg.json.check.mbtiles",
"strategies": "[{\"coalesced_as_needed\":207},{\"coalesced_as_needed\":174},{\"coalesced_as_needed\":108},{}]",
"tippecanoe_decisions": "{\"basezoom\":3,\"droprate\":1.000000,\"retain_points_multiplier\":1.000000}",
"type": "overlay",
"version": "2"
}, "features": [