[postgis-devel] [PostGIS] #1160: operator = returns wrong results checking two POINTS

PostGIS trac at osgeo.org
Tue Aug 16 03:26:33 PDT 2011


#1160: operator = returns wrong results checking two POINTS
------------------------+---------------------------------------------------
 Reporter:  gabrimonfa  |       Owner:  pramsey      
     Type:  defect      |      Status:  new          
 Priority:  medium      |   Milestone:  PostGIS 2.0.0
Component:  postgis     |     Version:  1.5.X        
 Keywords:              |  
------------------------+---------------------------------------------------
 The query

 SELECT '0101000000EC51B85E200D3A4114AE47318E635241'::geometry =
 '010100000052B81E45200D3A417B14AE378E635241'::geometry;

 should return false since the two POINTS are different.

 I have tried on 1.5.3 (current stable).

 The problem is probably present also on older releases (I've tried on
 1.5.2 compiled by source and on 1.3.3)

 In current (2011-08-16) 2.0.0SVN the query returns the correct result
 (confirmed by strk on IRC)

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