charonviz

charonviz / text2geo

Public

Offline fuzzy geocoder — convert place names to coordinates with zero API limits

104
0
100% credibility
Found Feb 28, 2026 at 103 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

text2geo is a Python library for offline conversion of place names in multiple languages, including misspelled variants, to latitude and longitude coordinates using public GeoNames datasets.

How It Works

1
🔍 Discover text2geo

You hear about text2geo, a handy tool that turns everyday place names—even misspelled or in other languages—into exact map coordinates without needing the internet after a one-time setup.

2
💻 Set it up

You add text2geo to your computer quickly and easily so it's ready to find locations for you.

3
Pick your map area
🌍
Whole world

Get coordinates for cities everywhere, from big capitals to small towns.

🇷🇺
Russia

Cover every town and village across all of Russia.

🌐
Nearby countries

Include former Soviet areas like Ukraine, Kazakhstan, and Georgia.

4
📥 Grab the map info

The tool pulls in the place data for your area once, saving it on your computer for instant use anytime.

5
Find locations magically

Type any place name, like 'Moskow' or 'Kyiv', and it gives back precise latitude, longitude, country, and population—handling typos perfectly.

6
📋 Handle lists of places

Give it a bunch of names at once and get coordinates for all of them in seconds.

🎉 Coordinates ready

Now you have accurate map points for your places, working offline forever, no limits or costs.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 103 to 104 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is text2geo?

text2geo is a Python library that converts messy place names to latitude/longitude coordinates using an offline fuzzy geocoder powered by GeoNames data and rapidfuzz matching. It handles typos, transliterations, and multi-language queries like "Масква" to Moscow, with no API limits, keys, or internet after initial download. Pick from Russia-only, CIS countries, or worldwide datasets (30-60MB) for batch or single lookups via simple API or CLI.

Why is it gaining traction?

Unlike API-bound services, it runs fully offline with unlimited queries, fuzzy matching for real-world data slop, and auto-download zero-config setup—ideal as an offline GitHub Copilot alternative for location tasks. Batch geocoding thousands of names in seconds, country filters, and custom CSV support make it punch above its 112 stars. Devs dig the speed: exact matches under 1ms, fuzzy in 5-20ms.

Who should use this?

Data engineers batch-processing spreadsheets of place names without cloud costs, backend devs building location features for air-gapped servers or offline GitHub repositories, and analysts in restricted regions handling Russian/CIS data. Perfect for scripts converting historical logs or user inputs to coords sans API drama.

Verdict

Grab it for offline fuzzy geocoding needs—solid docs, CLI, and API make it dead simple despite beta status and 1.0% credibility score from low stars. Maturity lags (no tests visible), so pair with production validation, but it's a smart escape from API limits today.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.