-
Notifications
You must be signed in to change notification settings - Fork 25.8k
GeoPoint returns incorrect geohash for lat 90, lon 180 #22163
Copy link
Copy link
Closed
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapesgood first issuelow hanging fruitlow hanging fruit
Description
Elasticsearch version: 5.1.1
JVM version: 1.8.0_111
Description of the problem including expected versus actual behavior:
The .geohash method on org.elasticsearch.common.geo.GeoPoint returns geohash "000000000000" for coordinates lat 90, lon 180, Which should be "zzzzzzzzzzzz".
GeoPoint.fromGeohash("000000000000") returns lat -90, lon -180
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Analytics/GeoIndexing, search aggregations of geo points and shapesIndexing, search aggregations of geo points and shapesgood first issuelow hanging fruitlow hanging fruit
Type
Fields
Give feedbackNo fields configured for issues without a type.