https://github.com/firstclasspostcodes/geohash
🗺 A small node library for transforming latitude and longitude coordinates into geohashes
https://github.com/firstclasspostcodes/geohash
Last synced: about 1 year ago
JSON representation
🗺 A small node library for transforming latitude and longitude coordinates into geohashes
- Host: GitHub
- URL: https://github.com/firstclasspostcodes/geohash
- Owner: firstclasspostcodes
- Created: 2019-05-08T08:58:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-20T21:37:59.000Z (about 5 years ago)
- Last Synced: 2025-01-26T13:16:33.712Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://firstclasspostcodes.github.io/geohash/
- Size: 14.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Geohash
> Transform geographic coordinates in the form of latitude and longitude into numerical geohashes.
[](https://www.npmjs.com/package/@firstclasspostcodes/geohash) [](https://standardjs.com) [](https://travis-ci.org/firstclasspostcodes/geohash) [](https://greenkeeper.io/) [](https://codecov.io/gh/firstclasspostcodes/geohash) [](https://npm.runkit.com/@firstclasspostcodes/geohash)
At Firstclasspostcodes, we use geohashes inside DynamoDB to quickly retrieve matching postcodes for a particular coordinate. Our solution has been adapted from [this original blog post](https://aws.amazon.com/blogs/mobile/geo-library-for-amazon-dynamodb-part-1-table-structure/) and we've extracted some of the code from an [existing NPM library](https://github.com/rh389/dynamodb-geo.js) to suit our own purposes.
## Getting Started
```
npm i @firstclasspostcodes/geohash --save
```
Then refer to the [documentation here](https://firstclasspostcodes.github.io/geohash) on how to start using it.