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

PostGIS trac at osgeo.org
Wed Jun 15 09:36:33 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 chodgson):

 Wouldn't it be just as valid to hash based on the bounding box? That's
 down to only 4 zero-checks. Might not be as efficient for special cases
 handling gridded data or similar (but would still work), but would work
 fine in the general cases where you have no reason to expect any two
 random geometries to have the same bounding box.

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