Add hexagon backend
This commit is contained in:
parent
a7cc4d9b2b
commit
ab704c0dc0
18 changed files with 1443 additions and 0 deletions
23
pipeline/config.py
Normal file
23
pipeline/config.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
"""Shared configuration for the pipeline and server."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
# Data directories
|
||||
DATA_DIR = Path(__file__).parent.parent / "data_sources"
|
||||
PROCESSED_DIR = DATA_DIR / "processed"
|
||||
AGGREGATES_DIR = PROCESSED_DIR / "aggregates"
|
||||
|
||||
# H3 resolutions to generate and serve
|
||||
# https://h3geo.org/docs/core-library/restable/#average-area-in-m2
|
||||
H3_RESOLUTIONS = [6, 7, 8, 9, 10, 11, 12]
|
||||
DEFAULT_H3_RESOLUTION = 8
|
||||
|
||||
# Year filters
|
||||
MIN_YEAR = 1995
|
||||
MAX_YEAR = 2024
|
||||
DEFAULT_MIN_YEAR = 2020
|
||||
DEFAULT_MAX_YEAR = 2024
|
||||
|
||||
# Price filters
|
||||
DEFAULT_MIN_PRICE = 0
|
||||
DEFAULT_MAX_PRICE = 2_000_000
|
||||
Loading…
Add table
Add a link
Reference in a new issue