Skip to content

GeoPoint returns incorrect geohash for lat 90, lon 180 #22163

@hithran

Description

@hithran

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

Metadata

Metadata

Assignees

Labels

:Analytics/GeoIndexing, search aggregations of geo points and shapesgood first issuelow hanging fruit

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions