57 lines
2.1 KiB
Markdown
57 lines
2.1 KiB
Markdown
# Lokale geodata
|
|
|
|
De gekozen bron is de Belgische GeoNames Postal Code export. Het bulkbestand blijft lokaal en
|
|
wordt niet in Git, de project-ZIP of logs opgenomen.
|
|
|
|
## Vastgelegde bron
|
|
|
|
- Herkomst: `https://download.geonames.org/export/zip/BE.zip`
|
|
- Upstreamversie/Last-Modified: `2026-04-03 03:39 CET`
|
|
- Download- en reviewdatum: `2026-07-22`
|
|
- Licentie: Creative Commons Attribution 4.0 (`https://creativecommons.org/licenses/by/4.0/`)
|
|
- Upstream-archief SHA-256: `4c412c8482c5002273e880289adc83ec7d5c37866a5cf5bff893d8b38fb7eefa`
|
|
- Afgeleide CSV SHA-256: `7ffddc97b07b4bac8e9aade68bbfbc2730dea5291505489adc97c3992ad16198`
|
|
- Afgeleide CSV: 2.781 unieke `postcode + plaatsnaam`-rijen; geen persoonsgegevens
|
|
- Benodigde attributie bij distributie of publieke presentatie: `GeoNames (www.geonames.org)`
|
|
|
|
GeoNames beschrijft de coördinaten als geschatte WGS84-punten. VacatureRadar gebruikt ze als
|
|
postcode-/plaatscentrum, nooit als exact woon- of werkadres.
|
|
|
|
## Lokale bestanden
|
|
|
|
De gecontroleerde runtime gebruikt:
|
|
|
|
- `local/geodata/BE-2026-04-03.zip`
|
|
- `local/geodata/geonames-be-2026-04-03.csv`
|
|
- CSV-kolommen: `postal_code,municipality,region,latitude,longitude`
|
|
|
|
## Gecontroleerde steekproef
|
|
|
|
| Postcode | Plaats | Latitude | Longitude |
|
|
|---|---|---:|---:|
|
|
| 2400 | Mol | 51.1919 | 5.1166 |
|
|
| 2440 | Geel | 51.1656 | 4.9892 |
|
|
| 2260 | Westerlo | 51.0905 | 4.9154 |
|
|
| 2300 | Turnhout | 51.3225 | 4.9447 |
|
|
| 2250 | Olen | 51.1439 | 4.8598 |
|
|
| 2370 | Arendonk | 51.3227 | 5.0829 |
|
|
| 3920 | Lommel | 51.2307 | 5.3135 |
|
|
|
|
Valideer en importeer met:
|
|
|
|
```bash
|
|
python manage.py import_geodata local/geodata/geonames-be-2026-04-03.csv \
|
|
--source-name geonames-postal-be \
|
|
--dataset-version 2026-04-03 \
|
|
--license-name "Creative Commons Attribution 4.0" \
|
|
--license-url "https://creativecommons.org/licenses/by/4.0/" \
|
|
--validate-only
|
|
|
|
python manage.py import_geodata local/geodata/geonames-be-2026-04-03.csv \
|
|
--source-name geonames-postal-be \
|
|
--dataset-version 2026-04-03 \
|
|
--license-name "Creative Commons Attribution 4.0" \
|
|
--license-url "https://creativecommons.org/licenses/by/4.0/" \
|
|
--replace
|
|
```
|