Need help with OfflineReverseGeocode?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

AReallyGoodName
456 Stars 69 Forks Other 38 Commits 5 Opened issues

Description

Perform reverse geocoding locally and offline

Services available

!
?

Need anything else?

Contributors list

# 253,661
Java
22 commits
# 475,728
HTML
CSS
2 commits
# 212,192
jenkins...
Shell
HTML
Groovy
1 commit

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));

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.