Remove level 6
This commit is contained in:
parent
2f41c38cc4
commit
c85fe82e24
2 changed files with 1 additions and 3 deletions
|
|
@ -67,7 +67,6 @@ function priceToColor(price: number | null | undefined): [number, number, number
|
||||||
}
|
}
|
||||||
|
|
||||||
function zoomToResolution(zoom: number): number {
|
function zoomToResolution(zoom: number): number {
|
||||||
if (zoom < 7) return 6;
|
|
||||||
if (zoom < 8.5) return 7;
|
if (zoom < 8.5) return 7;
|
||||||
if (zoom < 9.5) return 8;
|
if (zoom < 9.5) return 8;
|
||||||
if (zoom < 11) return 9;
|
if (zoom < 11) return 9;
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# Data directories
|
|
||||||
DATA_DIR = Path(__file__).parent.parent / "data_sources"
|
DATA_DIR = Path(__file__).parent.parent / "data_sources"
|
||||||
PROCESSED_DIR = DATA_DIR / "processed"
|
PROCESSED_DIR = DATA_DIR / "processed"
|
||||||
AGGREGATES_DIR = PROCESSED_DIR / "aggregates"
|
AGGREGATES_DIR = PROCESSED_DIR / "aggregates"
|
||||||
|
|
||||||
# H3 resolutions to generate and serve
|
# H3 resolutions to generate and serve
|
||||||
# https://h3geo.org/docs/core-library/restable/#average-area-in-m2
|
# https://h3geo.org/docs/core-library/restable/#average-area-in-m2
|
||||||
H3_RESOLUTIONS = [6, 7, 8, 9, 10, 11]
|
H3_RESOLUTIONS = [7, 8, 9, 10, 11]
|
||||||
DEFAULT_H3_RESOLUTION = 8
|
DEFAULT_H3_RESOLUTION = 8
|
||||||
|
|
||||||
# Year filters
|
# Year filters
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue