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

PostGIS trac at osgeo.org
Fri Sep 8 06:04:56 PDT 2017


#3723: st_geohash not correct for some multipoint
----------------------+---------------------------
  Reporter:  hzhang   |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  high     |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  2.2.x
Resolution:  fixed    |   Keywords:  st_geohash
----------------------+---------------------------
Changes (by pramsey):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Interesting. Geohash is really annoying in that each char carries 5 bits
 of information, so not a complete cycle of x/y adjustments of the bounds
 in the algorithm. The issue was that one calculation was returning only a
 complete cycle of info (the precision calc) while the other was returning
 the partial cycles (the bounds calc). It seems that adjusting the
 precision calc to do partials makes things better without making things
 worse, so I've done that.

 Trunk at r15661

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