[postgis-tickets] [PostGIS] #3220: Mingw failure on cluster test

PostGIS trac at osgeo.org
Thu Aug 13 05:48:26 PDT 2015


#3220: Mingw failure on cluster test
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 No, your answer is wrong, it's not an ordering problem, it's a "getting it
 wrong" problem, but why your platform, that I dunno.
 {{{
 select st_distance(
   'GEOMETRYCOLLECTION(LINESTRING(0 0,1 1),LINESTRING(5 5,4 4),LINESTRING(0
 0,-1 -1),POLYGON((0 0,4 0,4 4,0 4,0 0)))',
   'GEOMETRYCOLLECTION(LINESTRING(6 6,7 7))'
 );
    st_distance
 -----------------
  1.4142135623731
 (1 row)
 }}}
 The failing test is a "cluster within" with a tolerance of 1.4, so the two
 elements fall outside the tolerance and should be in different clusters,
 as the platforms that succeed (all of them but one) return.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3220#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-tickets mailing list