Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-4.0
|
| 3 |
+
pretty_name: Lightcella geodata
|
| 4 |
+
language:
|
| 5 |
+
- multilingual
|
| 6 |
+
tags:
|
| 7 |
+
- geonames
|
| 8 |
+
- reverse-geocoding
|
| 9 |
+
- sqlite
|
| 10 |
+
size_categories:
|
| 11 |
+
- 100K<n<1M
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Lightcella geodata
|
| 15 |
+
|
| 16 |
+
Reference data for [Lightcella](https://github.com/lightcella/lightcella)'s reverse geocoder and place search:
|
| 17 |
+
one read-only SQLite database per release, named by date.
|
| 18 |
+
|
| 19 |
+
| File | SHA-256 | Contents |
|
| 20 |
+
|---|---|---|
|
| 21 |
+
| `geonames-2026.11.db` | `e07fdf4f033f2a42f06ad628af3d1b4ba16769ae182f174dba96d275e1676b16` | GeoNames `cities1000` (about 165,000 places), first-level admin divisions and countries, with timezones, plus the place name search index built from `alternateNamesV2` |
|
| 22 |
+
|
| 23 |
+
Files are never replaced: Lightcella pins one by name and SHA-256 (`scripts/fetch-geonames-db.sh`),
|
| 24 |
+
and a new build gets a new dated name.
|
| 25 |
+
|
| 26 |
+
## How it is built
|
| 27 |
+
|
| 28 |
+
`scripts/rebuild_geonames_db.sh` converts the GeoNames dumps to SQLite, then `scripts/build_place_index.sh`
|
| 29 |
+
adds the search index (tables `place`, `name_fts`, `place_index_meta`). Both scripts are in the Lightcella repository.
|
| 30 |
+
|
| 31 |
+
## License and attribution
|
| 32 |
+
|
| 33 |
+
The data comes from [GeoNames](https://www.geonames.org/) and is licensed under the
|
| 34 |
+
[Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/).
|
| 35 |
+
Changes from the original: a selection of the GeoNames dumps, converted to SQLite and indexed for place search.
|