[postgis-tickets] [PostGIS] #3313: Where is money town? ST_PointGeoHash regression differnce between 2.1.8 and 2.2.0
PostGIS
trac at osgeo.org
Sun Oct 4 01:21:58 PDT 2015
#3313: Where is money town? ST_PointGeoHash regression differnce between 2.1.8 and
2.2.0
---------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: postgis | Version: trunk
Keywords: |
---------------------+---------------------------
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(54.140625 -21.796875) | mhns0000000000000000
(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
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3313>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list