Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2201 closed defect (fixed)

ST_GeoHash wrong on boundaries

Reported by: pramsey Owned by: pramsey
Priority: high Milestone: PostGIS 2.0.4
Component: postgis Version: 2.0.x
Keywords: history Cc:

Description

ST_GeoHash('POINT(0 0)') or ST_GeoHash('POINT(90 0)') return values that disagree with the reference calculation at geohash.org. Should be:

POINT(0 0) == s0000000000000000000
POINT(90 0) == w0000000000000000000
POINT(90 45) == y0000000000000000000

Change History (2)

comment:1 by pramsey, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in 2.0 at r11210

Fixed in trunk at r11212

comment:2 by robe, 11 years ago

Keywords: history added
Note: See TracTickets for help on using tickets.