Skip to content

AReallyGoodName/OfflineReverseGeocodeOSM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OfflineReverseGeocodeOSM

Offline reverse geocoding using OSM datasets.

Similar to https://github.com/AReallyGoodName/OfflineReverseGeocode but instead of using geonames it uses openmaps.

Current usage:

List nodes = OSMReader.openPBFFile("C:\Projects\offlinereversegeocode\Sydney.osm.pbf");

KDTree kdTree = new KDTree(nodes);

System.out.println(kdTree.findNearest( new GeoNode( -33.79, 151.202 ) )); // North Willoughby

System.out.println(kdTree.findNearest( new GeoNode( -34.56, 152.345 ) )); // Little Bay

Uses osm pdf datasets. Currently only does suburbs but will do streets soon.

About

Offline reverse geocoding using OSM datasets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages