GithubHelp home page GithubHelp logo

Comments (1)

kungfoo avatar kungfoo commented on August 21, 2024

You best start here: https://en.wikipedia.org/wiki/Geohash
The library is an implementation of this http://geohash.org/

A geohash is not a point, but rather a bounding box defined by subdividing a coordinate system in terms of it's axes.
Two of those bounding boxes are adjacent, if they are next to each other in at least one dimension (for WGS84-coordinates, there is two latitude and longitude).

Precision is actually the size of the bounding box. Less precision means a larger bounding box. The point is (no pun intended) that the prefix of a larger bounding box, that contains another smaller bounding box is the same, so you can check contains() by looking at the prefixes of the hashes.

from geohash-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.