-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geo: Geohash_cell produces bad neighbors #7226
Labels
Comments
colings86
added a commit
that referenced
this issue
Aug 13, 2014
The geohash grid it 8 cells wide and 4 cells tall. GeoHashUtils.neighbor(String,int,int.int) set the limit of the number of cells in y to < 3 rather than <= 3 resulting in it either not finding all neighbours or incorrectly searching for a neighbour in a different parent cell. Closes #7226
colings86
changed the title
Geohash_cell produces bad neighbors
Geo: Geohash_cell produces bad neighbors
Aug 13, 2014
colings86
added a commit
that referenced
this issue
Aug 13, 2014
The geohash grid it 8 cells wide and 4 cells tall. GeoHashUtils.neighbor(String,int,int.int) set the limit of the number of cells in y to < 3 rather than <= 3 resulting in it either not finding all neighbours or incorrectly searching for a neighbour in a different parent cell. Closes #7226
colings86
added a commit
that referenced
this issue
Sep 8, 2014
The geohash grid it 8 cells wide and 4 cells tall. GeoHashUtils.neighbor(String,int,int.int) set the limit of the number of cells in y to < 3 rather than <= 3 resulting in it either not finding all neighbours or incorrectly searching for a neighbour in a different parent cell. Closes #7226
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
The geohash grid it 8 cells wide and 4 cells tall. GeoHashUtils.neighbor(String,int,int.int) set the limit of the number of cells in y to < 3 rather than <= 3 resulting in it either not finding all neighbours or incorrectly searching for a neighbour in a different parent cell. Closes elastic#7226
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returns geohashes:
ebzs
- see http://geohash.2ch.to/ebzsebzu
- see http://geohash.2ch.to/ebzugcpt
- see http://geohash.2ch.to/gcptgcpv
- see http://geohash.2ch.to/gcpvs0bh
- see http://geohash.2ch.to/s0bhu10j
- see http://geohash.2ch.to/u10jOnly
gcpt
,gpcv
, andu10j
are in the right place. The others are in the Gulf of Guinea.The text was updated successfully, but these errors were encountered: