Opened 9 years ago
Last modified 9 years ago
#3313 closed defect
Where is money town? ST_PointGeoHash regression difference between 2.1.8 and 2.2.0 — at Version 2
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.2.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description (last modified by )
Which one of these is the right answer or are they both wrong?
SELECT ST_AsText(ST_PointFromGeoHash('monkey')) As output, ST_GeoHash(ST_PointFromGeoHash('monkey'));
In:
POSTGIS="2.2.0dev r14180" GEOS="3.5.0-CAPI-1.9.0 r4090" PROJ="Rel. 4.9.1, 04 March 2015" GDAL="GDAL 2.0.1, released 2015/09/15" LIBXML="2.7.8" LIBJSON="0.12" RASTER output | st_geohash -------------------------------------------+---------------------- POINT(53.9593505859375 -21.6732788085938) | mhnkeys0000000000000 (1 row)
POSTGIS="2.1.8 r13780" GEOS="3.5.0-CAPI-1.9.0 r4088" PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.11.1, released 2014/09/24" LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER output | st_geohash -------------------------------------------+---------------------- POINT(53.9593505859375 -44.1732788085938) | m0nkeys0000000000000 (1 row)
I have to say I find the 2.1.8 answer more visually appealing
Change History (2)
comment:1 by , 9 years ago
Summary: | Where is money town? ST_PointGeoHash regression differnce between 2.1.8 and 2.2.0 → Where is money town? ST_PointGeoHash regression difference between 2.1.8 and 2.2.0 |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.