Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 381 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 381 Bytes

An Offline Reverse Geocoding library

Uses KD-Trees for extremely fast placename lookups

Licensed under LGPL 2.1

Usage:

First download a placenames file from http://download.geonames.org/export/dump/allCountries.zip

Then simply

ReverseGeoCode reverseGeoCode = new ReverseGeoCode("c:\\placenames.txt", true);

println(reverseGeoCode.nearestMajorPlaceName(-12.345, 123.456));