[postgis-devel] [PostGIS] #1014: GEOMETRY type is not "hashable"

PostGIS trac at osgeo.org
Wed Jun 15 00:24:28 PDT 2011


#1014: GEOMETRY type is not "hashable"
----------------------+-----------------------------------------------------
  Reporter:  vince    |       Owner:  pramsey            
      Type:  defect   |      Status:  closed             
  Priority:  medium   |   Milestone:  PostGIS 1.5.3      
 Component:  postgis  |     Version:  1.5.X              
Resolution:  wontfix  |    Keywords:  GEOMETRY hash UNION
----------------------+-----------------------------------------------------

Comment(by mcayland):

 It seems there is an explicit check for zero added into the floating point
 hash function. However, in the case of PostGIS we'd have to take a copy of
 the geometry, isolate the floating point numbers within it, fix the zero
 values, hash it and destroy the copy. That's quite a lot of tricky work to
 do in order to make this work.

 If someone can show that making geometry hashable is a big win then I
 would consider a patch, but it's going to need a fair bit of work.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1014#comment:6>
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-devel mailing list