[postgis-tickets] [PostGIS] #3723: st_geohash not correct for some multipoint

PostGIS trac at osgeo.org
Thu Mar 2 08:10:06 PST 2017


#3723: st_geohash not correct for some multipoint
------------------------+---------------------------
 Reporter:  hzhang      |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  high        |  Milestone:  PostGIS 2.3.3
Component:  postgis     |    Version:  2.2.x
 Keywords:  st_geohash  |
------------------------+---------------------------
 Please correct me if I am wrong.

 for example,
 {{{
 postgres=# select st_astext(st_geomfromgeohash('z'));
                    st_astext
 -----------------------------------------------
  POLYGON((135 45,135 90,180 90,180 45,135 45))
 (1 row)


 if point/linestring/polygon exist in above bbox should be hashed to 'z',
 but



 postgres=# select st_geohash(st_geomfromtext('multipoint(166.2 60.2, 175.6
 67.5)'));
  st_geohash
 ------------

 (1 row)

 does not yield 'z' here, which that multipoint exists in that box.
 }}}

 My version is:

 POSTGIS="2.2.2 r14797" GEOS="3.5.0-CAPI-1.9.0 r4084" PROJ="Rel. 4.8.0, 6
 March 2012" GDAL="GDAL 1.11.4, released 2016/01/25" LIBXML="2.9.1"
 LIBJSON="0.11" TOPOLOGY RASTER

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3723>
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