Skip to content

v0.1.0

Choose a tag to compare

@rustyconover rustyconover released this 21 Jul 14:46
· 25 commits to main since this release

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 geocode catalog (single main schema): 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.