File size: 1,363 Bytes
5a0fed9
 
33147e6
 
 
 
 
 
 
 
 
5a0fed9
33147e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
license: cc-by-4.0
pretty_name: Lightcella geodata
language:
- multilingual
tags:
- geonames
- reverse-geocoding
- sqlite
size_categories:
- 100K<n<1M
---

# Lightcella geodata

Reference data for [Lightcella](https://github.com/lightcella/lightcella)'s reverse geocoder and place search:
one read-only SQLite database per release, named by date.

| File | SHA-256 | Contents |
|---|---|---|
| `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` |

Files are never replaced: Lightcella pins one by name and SHA-256 (`scripts/fetch-geonames-db.sh`),
and a new build gets a new dated name.

## How it is built

`scripts/rebuild_geonames_db.sh` converts the GeoNames dumps to SQLite, then `scripts/build_place_index.sh`
adds the search index (tables `place`, `name_fts`, `place_index_meta`). Both scripts are in the Lightcella repository.

## License and attribution

The data comes from [GeoNames](https://www.geonames.org/) and is licensed under the
[Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/).
Changes from the original: a selection of the GeoNames dumps, converted to SQLite and indexed for place search.