github.com/jgaskins/geocoder
main / published Feb 20, 2025 / repository
Geocoding API for various backends
geocoder
Allows geocoding and reverse-geocoding using swappable backends for lookup.
Installation
-
Add the dependency to your
shard.yml:dependencies: geocoder: github: jgaskins/geocoder -
Run
shards install
Usage
require "geocoder"
Geocoder.search "1060 W Addison, Chicago, IL"
# => [Geocoder::Result(@latitude=41.94818455, @longitude=-87.65555899980043)]
Contributing
- Fork it (https://github.com/jgaskins/geocoder/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer
API
- Geocoder
TODO Write documentation for
Geocoder