Skip to main content

Module geonames

Module geonames 

Source
Expand description

GeoNames database access helpers.

Functionsยง

build_geonames_db
geonames_db_exists
Check if bundled GeoNames DB exists.
geonames_db_is_current
Validate a specific GeoNames database without creating or mutating it.
geonames_db_path
Resolve GeoNames DB path.
geonames_schema_is_current
Returns true when the on-disk geonames.db matches the current schema. False if the file is missing OR built against an older layout. Callers (asset setup, the geocoder) should rebuild when this returns false.