GeekSerendipity-io13 icon indicating copy to clipboard operation
GeekSerendipity-io13 copied to clipboard

GeoHashing

Open vdisawar opened this issue 11 years ago • 2 comments

Hi,

I had a question with the geohasher class in this project. I mainly wanted to ask what is beneficial with converting LatLng coordinates to a geohash and how accurate is it?

thanks

I know this isn't an issue but I didn't know where to post the questions.

vdisawar avatar Jun 27 '13 21:06 vdisawar

I believe the accuracy is a few meters for the full base 32 geohash. However, using a geohash to query proximity is tricky since you may be near a hash boundary. For that reason, it is actually not used in the current project. We decided to query the most recent position updates from anywhere in the world instead. It was used in an earlier version.

The geohash algorithm we used is this one: http://en.wikipedia.org/wiki/Geohash

HTH, /dmc

On Thu, Jun 27, 2013 at 2:18 PM, vdisawar [email protected] wrote:

Hi,

I had a question with the geohasher class in this project. I mainly wanted to ask what is beneficial with converting LatLng coordinates to a geohash and how accurate is it?

thanks

— Reply to this email directly or view it on GitHubhttps://github.com/bradabrams/GeekSerendipity-io13/issues/2 .

turbomanage avatar Jun 27 '13 21:06 turbomanage

So in order to query locations on app engine, is it possible to just use lat, lng values instead of geohashing and are there any downsides to that approach, if any?

vdisawar avatar Jun 28 '13 03:06 vdisawar