fix(data): make the Norway datacenter script portable and re-runnable

Read and write files as UTF-8 with LF line endings so the script and
--verify work on Windows, where the default codec is cp1252 (thanks to
quanticsoul4772 for the report). Geofabrik keeps only its newest dated
extract, so --extract now defaults to the current one and accepts a dated
name for --verify while it is listed; the dataset README says so. Downloads
time out instead of hanging.
This commit is contained in:
Trygve Hemminghytt committed 2026-10-16 22:23:02 +02:00
1 parent 2e0d855cf8
commit 5b5d942d95
3 files changed
+42 -19

No files matched your search

+1
View File
@@ -184,6 +184,7 @@
`scripts/build-datacenters-norway.py` reproduces or `--verify`s the merge,
touching only features inside Geofabrik's Norway boundary, and the dataset
README records the extract, checksum and filter.
- Add a keyless Air quality layer to the Weather group, with Environment and
Climate Change Canada's AQHI as the first registered provider. Readings carry
`{ provider, scale, value, band }` so another network can be added without