Source code for wolfhece.maps.belgium

from dataclasses import dataclass
from shapely.geometry import Polygon

@dataclass(frozen=True)
[docs] class MapRegion:
[docs] xmin: float
[docs] xmax: float
[docs] ymin: float
[docs] ymax: float
[docs] polygon: Polygon = None
[docs] WALLONIA = MapRegion( xmin=40_000., xmax=300_000., ymin=10_000., ymax=175_000., polygon=Polygon([(40_000., 10_000.), (300_000., 10_000.), (300_000., 175_000.), (40_000., 175_000.)]) )
[docs] BELGIUM = MapRegion( xmin=17_000., xmax=294_000., ymin=20_000., ymax=250_000., polygon=Polygon([(17_000., 20_000.), (294_000., 20_000.), (294_000., 250_000.), (17_000., 250_000.)]) )
[docs] VESDRE = MapRegion( xmin=237_500., xmax=272_000., ymin=130_000., ymax=148_000., polygon=Polygon([(237_500., 130_000.), (272_000., 130_000.), (272_000., 148_000.), (237_500., 148_000.)]) )