Skip to content
2 changes: 1 addition & 1 deletion integration-test/1999-keep-n-gridded.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_thinned_tokyo(self):
# We should thin out most of the data at zoom 8
self.assert_n_matching_features(
8, 227, 100, 'places',
{'kind': 'locality'}, 134)
{'kind': 'locality'}, 34)

# Zoom 11 should have Tokyo
self.assert_has_feature(
Expand Down
6 changes: 3 additions & 3 deletions queries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ post_process:
end_zoom: 9
items_matching: { kind: locality }
max_items: 1
grid_width: 3
grid_width: 12
sorting_keys:
- { sort_key: 'min_zoom', reverse: False }
- { sort_key: 'collision_rank', reverse: False }
Expand All @@ -1065,7 +1065,7 @@ post_process:
end_zoom: 11
items_matching: { kind: locality }
max_items: 1
grid_width: 6
grid_width: 24
sorting_keys:
- { sort_key: 'min_zoom', reverse: False }
- { sort_key: 'collision_rank', reverse: False }
Expand All @@ -1078,7 +1078,7 @@ post_process:
end_zoom: 13
items_matching: { kind: locality }
max_items: 1
grid_width: 12
grid_width: 48
sorting_keys:
- { sort_key: 'min_zoom', reverse: False }
- { sort_key: 'collision_rank', reverse: False }
Expand Down