-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
442 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
"""Config module.""" | ||
|
||
|
||
class Config: | ||
"""Config class.""" | ||
|
||
espg_3006: str = "EPSG:3006" | ||
epsg_4326: str = "EPSG:4326" | ||
|
||
border_land: str = "Riksgräns" | ||
border_sea: str = "Sjöterritoriets gräns i havet" | ||
border_county: str = "Länsgräns" | ||
border_municipality: str = "Kommungräns" | ||
|
||
ground_sweden: str = "00_sverige.geojson" | ||
ground_50: dict[str, str] = { | ||
"Anlagt vatten": "01_anlagt_vatten.geojson", | ||
"Vattendragsyta": "02_vattendragsyta.geojson", | ||
"Sjö": "03_sjo.geojson", | ||
"Glaciär": "04_glaciar.geojson", | ||
"Kalfjäll": "05_kalfjall.geojson", | ||
"Fjällbjörkskog": "06_fjallbjorkskog.geojson", | ||
"Barr- och blandskog": "07_barr_blandskog.geojson", | ||
"Lövskog": "08_lovskog.geojson", | ||
"Åker": "09_aker.geojson", | ||
"Fruktodling": "10_fruktodling.geojson", | ||
"Öppen mark": "11_oppen_mark.geojson", | ||
"Hög bebyggelse": "12_hog_bebygelse.geojson", | ||
"Låg bebyggelse": "13_lag_bebygelse.geojson", | ||
"Sluten bebyggelse": "14_sluten_bebygelse.geojson", | ||
"Industri- och handelsbebyggelse": "15_industri_handel.geojson", | ||
"Hav": "16_hav.geojson", | ||
"Ej karterat område": "17_ej_kartlagt.geojson", | ||
} | ||
ground_1m: dict[str, str] = { | ||
"Vattenyta": "01_vattenyta.geojson", | ||
"Glaciär": "05_glaciar.geojson", | ||
"Kalfjäll": "08_kalfjall.geojson", | ||
"Skog": "02_skog.geojson", | ||
"Öppen mark": "15_oppen_mark.geojson", | ||
"Bebyggelse": "06_bebygelse.geojson", | ||
"Hav": "16_hav.geojson", | ||
"Ej karterat område": "17_ej_kartlagt.geojson", | ||
} | ||
|
||
exclude_ground = {"Hav", "Ej karterat område"} | ||
|
||
ground_water = { | ||
"Anlagt vatten", | ||
"Sjö", | ||
"Vattendragsyta", | ||
"Hav", | ||
"Vattenyta", | ||
} | ||
|
||
exteriorise = {"Barr- och blandskog", "Skog"} | ||
|
||
|
||
config = Config() |
Oops, something went wrong.