-
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
1 changed file
with
11 additions
and
5 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 |
---|---|---|
@@ -1,13 +1,19 @@ | ||
# Gazetteer | ||
|
||
Build a *gazetteer.csv.zip*, and a *gadm41_regions.shp.zip* files for geocoding purpose. | ||
Build gazetteer using GADM regions and Geonames cities above 15k pop | ||
|
||
## Build | ||
|
||
> :coffee: This may take several minutes depending on you connection. | ||
> :coffee: It may take several minutes on first built due to GADM database download | ||
Install dependencies | ||
|
||
```shell | ||
poetry install | ||
``` | ||
|
||
Build gazetteer | ||
|
||
```shell | ||
python3 -m venv .pyve | ||
.pyve/bin/pip install -r requirements.txt | ||
.pyve/bin/python build.py | ||
poetry run python -B build.py | ||
``` |