Repository navigation
v0.1.0
First release of vgi-geocode — offline reverse geocoding (lat/lon → nearest place, country, admin regions, IANA timezone) plus haversine distance_km, as DuckDB scalar functions over VGI.
- 7 positional-only scalars in the
geocodecatalog (singlemainschema): nearest_city, country_code, admin1, admin2, reverse_geocode (STRUCT), timezone, distance_km. - Fully offline: bundled GeoNames cities KD-tree (reverse_geocoder, LGPL-3.0, unmodified dependency) + IANA timezone polygons (timezonefinder, MIT). No API keys, no network.
- Ships as an installable sdist+wheel and a multi-arch container image at ghcr.io/query-farm/vgi-geocode (
:0.1.0/:latest), serving stdio + HTTP. - NULL/out-of-range coordinates return NULL, never an error.