Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badboy/geoplaces
Query OpenStreetMap for geolocation information of any place.
https://github.com/badboy/geoplaces
Last synced: 9 days ago
JSON representation
Query OpenStreetMap for geolocation information of any place.
- Host: GitHub
- URL: https://github.com/badboy/geoplaces
- Owner: badboy
- License: mit
- Created: 2017-01-05T17:08:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-24T19:42:57.000Z (over 5 years ago)
- Last Synced: 2024-12-24T02:01:19.386Z (12 days ago)
- Language: Rust
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geoplaces
Query OpenStreetMap for geolocation information of any place.
This is based on [Nominatim](http://nominatim.openstreetmap.org/), the OpenStreetMap search engine.**Requires Rust >=1.31**
## Install
First [install Rust](https://rustup.rs/).
Now install `geoplaces` using:```
cargo install geoplaces
```## Usage
```
$ geoplaces "New York"
NYC, New York, United States of America
Latitude: 40.7127281
Longitude: -74.0060152New York, United States of America
Latitude: 43.1561681
Longitude: -75.8449946New York, Tyne and Wear, North East England, England, NE29 8EP, UK
Latitude: 55.0252998
Longitude: -1.4869496
```## License
MIT. See [LICENSE](LICENSE).