Crate rgeo[−][src]
rgeo
Rust library for reverse geocoding. Uses data from the geonames database. http://www.geonames.org/
Usage:
extern crate rgeo; use rgeo::search; search(44.353339_f64, -72.740231_f64); // Some((0.0001186200820000013, Record { name: "Village of Waterbury", latitude: 44.34279, longitude: -72.74294, country: "US" }))
Modules
country |
goenamedb entry |
record |
parsed country |
Functions
nearest |
search for closest records to target lat/long returns Option<distance, record> |
search |
search for closest record to target lat/long returns Option<distance, record> |