pub const HISTOGRAM_BINS: usize = 100;

pub const H3_PRECOMPUTE_MAX: u8 = 12;
pub const H3_REQUEST_MIN: u8 = 4;
pub const H3_REQUEST_MAX: u8 = 12;

pub const SERVER_ADDRESS: &str = "0.0.0.0:8001";

pub const BOUNDS_QUANTIZATION: f64 = 0.01;
pub const BOUNDS_BUFFER_PERCENT: f64 = 0.1;
pub const GRID_CELL_SIZE: f32 = 0.01;
pub const POSTCODE_MIN_RESOLUTION: u8 = 11;
pub const MAX_POIS_PER_REQUEST: usize = 2500;
pub const DEFAULT_PROPERTIES_LIMIT: usize = 100;
pub const MAX_PROPERTIES_LIMIT: usize = 500;
pub const ENUM_NULL: u8 = 255;

/// Canonical display order for POI category groups.
/// The server will panic at startup if the data contains groups not in this list or vice versa.
pub const POI_GROUP_ORDER: &[&str] = &[
    "Public Transport",
    "Amenity",
    "Building",
    "Craft",
    "Healthcare",
    "Leisure",
    "Office",
    "Shop",
    "Tourism",
];
