Update note on cache usage
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
s3lph 2022-10-27 01:11:13 +02:00
parent 80a2f5ee78
commit f983a84ef7
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5

View file

@ -7,7 +7,7 @@ Generate a map for https://www.ccc.de/regional from Wikidata, Nominatim and the
```
pip3 install -r requirements.txt
export DOKU_CCC_DE_BASICAUTH=username:password
./generate_map.py --update-erfalist
./generate_map.py --rename 'Frankfurt am Main' 'Frankfurt' --update-erfalist
ls -al out/
```
@ -58,7 +58,7 @@ A run without cache takes some time as it fetches all data from their sources:
1. Get a list of Erfas & Chaostreffs from the doku.ccc.de Semantic Mediawiki API.
1. Resolve all POIs' (Erfas & Chaostreffs) street addresses' to geocoordinates using [Nominatim](https://nominatim.org/).
**Use the cache at least for the country and state borders. Otherwise, Wikidata will start rate limiting pretty quickly.**
**Use the cache whenevery you don't need to update country borders or hackerspace locations. Otherwise, both Wikidata and Nominatim will start rate limiting pretty quickly.** (And caching is actually required by [Nominatim's acceptable use policy](https://operations.osmfoundation.org/policies/nominatim/)).
## License