BiwakDB - shelter huts, water and rest spots on a map
Nov 27, 2026 · 465 words · 3 minute read
For a friend i collected official and OpenStreetMap sources that are interesting for a bivouac and packed them into an iOS app. It shows about 266,000 places in Germany: shelter huts, drinking water, firepits, toilets, viewpoints and so on. The app does nothing else. You can filter the places, mark favourites and link out to Apple Maps or Google Maps. All places are stored in the app, so they work offline. No account, no ads, no tracking.
The data comes from two kinds of sources:
- Official cadastre data (ALKIS) of the German states. Every building has a function code there. The interesting ones are
31001_3281Schutzhütte,31001_2082Hütte without overnight stay and31001_2073Hütte with overnight stay, plus observation towers and toilets. That makes 14,676 places. - OpenStreetMap, from the Germany extract of Geofabrik. That makes 251,365 places.
This is how the data is extracted:
- Download every source untouched. Some states have a query service (WFS) where i can ask for buildings by function code. Other states only offer archives, so the complete cadastre has to be downloaded. For Baden-Württemberg that was 14.5 GB with 6.5 million buildings to keep 7,429 of them.
- Filter. Official buildings stay if their function code is on a fixed list. OpenStreetMap objects are picked by tag, for example
amenity=shelter,tourism=wilderness_hut,amenity=drinking_waterorleisure=firepit. Bus shelters, bike sheds, hunting stands and everything tagged as private are dropped. - Build. Every place gets the center of its building outline as position, its source and its licence. The result is two SQLite files, one for the official data and one for OpenStreetMap. They are kept apart because of the licences, so a hut can show up twice.
The sources are:
| Publisher | Licence | Fetched as | Places |
|---|---|---|---|
| LGL Baden-Württemberg | dl‑de/by‑2.0 | archives | 7,429 |
| Geoportal Berlin | dl‑de/by‑2.0 | WFS | 457 |
| LGB Brandenburg | dl‑de/by‑2.0 | WFS | 372 |
| LGV Hamburg | dl‑de/by‑2.0 | WFS | 152 |
| HVBG Hessen | dl‑de/zero‑2.0 | WFS | 2,588 |
| LAiV Mecklenburg-Vorpommern | CC BY 4.0 | WFS | 1,064 |
| LGLN Niedersachsen | CC BY 4.0 | WFS | 1,557 |
| Geobasis NRW | dl‑de/zero‑2.0 | WFS | 278 |
| LVermGeo Rheinland-Pfalz | dl‑de/by‑2.0 | WFS | 0 |
| LVGL Saarland | dl‑de/by‑2.0 | archives | 50 |
| LVermGeo Sachsen-Anhalt | dl‑de/by‑2.0 | WFS | 39 |
| TLBG Thüringen | dl‑de/by‑2.0 | WFS | 690 |
| OpenStreetMap contributors, extract by Geofabrik | ODbL 1.0 | one file | 251,365 |
“dl-de” is the Datenlizenz Deutschland. Bayern, Sachsen, Bremen and Schleswig-Holstein are missing in the list because they have no usable official data for huts. Places in these states come from OpenStreetMap only. The app lists every source with its credit line.
The data quality varies a lot. A “Hütte” can also be a restaurant or a clubhouse. I can not check that. An entry also does not say if a hut is open or if you are allowed to sleep there, so check on site.
Version 1.0.0 is in TestFlight and on its way to the App Store. It will be free.