OfflineReverseGeocode
Perform reverse geocoding locally and offline
Install / Use
/learn @AReallyGoodName/OfflineReverseGeocodeREADME
An Offline Reverse Geocoding Java library
Uses KD-Trees for extremely fast placename lookups
Licensed under The MIT License
A C# port by Necrolis is available at https://github.com/Necrolis/GeoSharp
Usage:
First download a placenames file from http://download.geonames.org/export/dump/
Allcountries.zip from that site is comprehensive however if you're on mobile try the cities1000.zip file. It's 1/80th of the size.
Then simply
ReverseGeoCode reverseGeoCode = new ReverseGeoCode(new FileInputStream("c:\\AU.txt"), true);
System.out.println("Nearest to -23.456, 123.456 is " + geocode.nearestPlace(-23.456, 123.456));
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
