Add out of bounds fetching

This commit is contained in:
Andras Schmelczer 2026-01-26 21:30:35 +00:00
parent c85fe82e24
commit 8a8df2ebfa
2 changed files with 16 additions and 0 deletions

View file

@ -12,6 +12,10 @@ from pipeline.config import (
DEFAULT_MAX_PRICE,
)
# Extra area to return beyond requested bounds (0.2 = 20%)
# Makes panning smoother by preloading nearby hexagons
BOUNDS_BUFFER_PERCENT = 0.2
__all__ = [
"AGGREGATES_DIR",
"VALID_RESOLUTIONS",
@ -22,4 +26,5 @@ __all__ = [
"DEFAULT_MAX_YEAR",
"DEFAULT_MIN_PRICE",
"DEFAULT_MAX_PRICE",
"BOUNDS_BUFFER_PERCENT",
]